librelist archives

« back to archive

how to opacity / transparentize (fade effect)

how to opacity / transparentize (fade effect)

Nicolas de Bari Embriz Garcia Rojas
2013-08-16 @ 11:26
Hi all, I want to create different versions of an image base on the
opacity,  I want to start with a full black image (opacity 1) and end
with the original image.

I am using something like

for i in (10):
    opacity = i/10.0

but so far I am getting the same image with out any opacity effect.

Any idea of how properly use the transparency option or the opacity ?

thanks in advance.