Bugs item #3445962, was opened at 2011-11-30 03:15 Message generated for change (Settings changed) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3445962...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Pixes (pix_ objects) Group: osx
Status: Pending Resolution: Fixed
Priority: 5 Private: No Submitted By: Nicolas Montgermont (nimon) Assigned to: Nobody/Anonymous (nobody) Summary: pix_writer write rgba images - osx
Initial Comment: I must insert a [pix_rgba] before [pix_writer] to have the good image written. It seems [pix_writer] writes rgb images even if it receives yuv data. osx.6.8 gem from current git
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2011-11-30 06:52
Message: should be fixed in git.736f0982
----------------------------------------------------------------------
Comment By: Nicolas Montgermont (nimon) Date: 2011-11-30 04:51
Message: right sorry, pix_snap converts to rgb, so forget about the last line of my last comment.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2011-11-30 04:07
Message: i think the expected behavior for pix_write is to convert yuv image to rgb befor recording it to the disk.
----------------------------------------------------------------------
Comment By: Nicolas Montgermont (nimon) Date: 2011-11-30 03:55
Message: Maybe I was not clear enough. If I use [pix_writer] just after [pix_video] I get a totally distorted image. Exactly the same if I use [pix_image] on a rgb image, and then [pix_yuv] and then [pix_writer]. It looks like [pix_writer] is not testing the format of the texture and assume it's rgb even if it's not the case.
The expected behavior is to have the same result with [pix_snap]+[pix_writer] and [pix_write]
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig) Date: 2011-11-30 03:46
Message: what is the expected behaviour?
i don't think you can natively write YUV-images in TIF; JPEG uses their own colorspace anyhow.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=507079&aid=3445962...