<div>Erin,</div><div> </div><div>Since EPrime doesn't have a builtin transparency option, this would be something you will have to implement yourself. The most straightforward way would be to manipulate an offscreen bitmap using the GetPixel/SetPixel functions. However, using EBasic this way would take ages. Another option would be to have an external DLL-function to do all the work (using optimized C++ code for example), but unfortunately this requires serious programming skills.</div>
<div> </div><div>best,</div><div>paul<br><br></div><div class="gmail_quote">2012/8/7 Erin <span dir="ltr"><<a href="mailto:erin.siebert@gmail.com" target="_blank">erin.siebert@gmail.com</a>></span><br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div><font face="arial, sans-serif">I am trying to build an experiment where I incrementally "black out" an image displayed on a black background. I want to be able to set the image opacity from 0% to 100% in 2% increments. I will keep the image opacity level constant within a session, but want to be able to change it easily between sessions. I know I could achieve this in Photoshop by putting a black background behind my image, adjusting the image's opacity, and re-saving the image. However, I</font><span style="font-family:"Trebuchet MS",Arial,Helvetica;font-size:small;background-color:rgb(240,248,255)"> want to be able to draw randomly from a very large bank of images for each stage of the experiment, and it would be prohibitively impractical to adjust all the images manually in Photoshop for each opacity level.</span><br>
</div><font face="arial, sans-serif"><div><font face="arial, sans-serif"><br></font></div>I found a post in this forum on how to fade between two different colors (How to fade from slide1 to slide2 (inline?)), however I haven't been able to find any information on adjusting opacity/transparency. Any help would be very appreciated. Thank you!</font><span class="HOEnZb"><font color="#888888"><br>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Erin</font></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/RbqV-jsq3MsJ" target="_blank">https://groups.google.com/d/msg/e-prime/-/RbqV-jsq3MsJ</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
<br>
<br>
</font></span></blockquote></div><br>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />