[GEM-dev] Re: GEM: pix_image reloading image already loaded
chris clepper
cgc at humboldtblvd.com
Fri Oct 29 02:41:06 CEST 2004
On Oct 28, 2004, at 2:00 PM, Etienne Desautels wrote:
>
> Hi Chris,
>
> Thanks for your answer.
>
> I just replace my pix_image object with pix_film and it works. I also
> send it a RGB colorspace message at loading time, this way PNGs are
> showing fine. Without the RGB message, JPGs are showing fine but not
> PNGs. Do you have any ideas why it works with JPGs and not PNGs?
Quicktime will convert YUV to RGB automagically, but not the other way
around. pix_film defaults to YUV because it is the proper color-space
for video and also quite a bit faster than RGB. PNG images are RGB
with lossless compression, while JPEG are YUV with lossy compression
applied.
cgc
More information about the GEM-dev
mailing list