changing opacity/transparency of an image

Larsen, Jeff jeff.larsen at ttu.edu
Tue Aug 7 10:07:46 UTC 2012


I don't have access to my computer for a couple weeks, but we did something similar a few years ago. Basically we made a canvas that contained the picture but randomly replaced x% of the picture's pixels with black dots with the setpixel function.

Sent from my iPhone

On Aug 6, 2012, at 6:13 PM, "Erin" <erin.siebert at gmail.com<mailto:erin.siebert at gmail.com>> wrote:

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 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.

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!

Erin

--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com<mailto:e-prime at googlegroups.com>.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com<mailto:e-prime+unsubscribe at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/RbqV-jsq3MsJ.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list