[PD] GEM - alpha blending of images over movies

chris clepper cgclepper at gmail.com
Fri Feb 16 19:51:43 CET 2007

What OS and GEM version?

On OSX the pix_film/movie object defaults to YUV.  Send a 'colorspace RGBA'
message to the object before loading the clip if you need the alpha from the
clip.  pix_image uses RGBA by default.  If you have problems with PNG the
try uncompressed or TIFF.

Also, put the alpha object after the pix_objects.

On 2/16/07, Item State <itemstatechanged at yahoo.de> wrote:
> hi,
> i'm trying to port a former jitter patch to pd/gem
> (http://lists.puredata.info/pipermail/pd-list/2006-11/043853.html).
> i have problems getting overlayed images to display
> properly. i have four rectangles fed by pix_movie,
> then i need to fade in and out a rendered text image.
> i tried using pix_image -> pix_texture and [alpha 1].
> the images are .png with transparent portions. i once
> got it to display correctly, but now if i open the
> patch, the videos all show up with wrong colours:
> http://sciss.de/test/Bild%201.png
> (see attached patch gemTest2.pd)
> once i remove the pix_image and pix_texture, save the
> patch and re-open it, the videos show up correctly
> again:
> http://sciss.de/test/Bild%205.png
> (see attached patch gemTest2B.pd)
> ... also, i don't know how to fade in the text (the
> "action" string). is there an alpha-channel multiplier
> for pix_image? thanks for hints!
> is it possible to stretch the video so that the
> rectangle stays the same, but only the top part of the
> video is shown (vertically zoomed without
> interpolation, so that you can see the pixels)?
> ciao, -sciss-
> Send instant messages to your online friends http://au.messenger.yahoo.com
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070216/ec2be567/attachment.htm>

More information about the Pd-list mailing list