[gstreamer-bugs] [Bug 164197] [pngdec] & [pngenc] The decoded image is in native byte order

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Sat Jan 15 14:14:28 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=164197
 GStreamer | gst-plugins | Ver: HEAD CVS





------- Additional Comments From Gergely Nagy  2005-01-15 17:14 -------
Okay, libpng sucks, I can't tell it to leave the image in network byte order. It
always converts it to RGB order, and when calling png_set_bgr() on a big-endian
box, the image goes native byte order (BE)->RGB order (LE)->BGR order (BE).

So, the only viable solution I see is to switch red_mask and blue_mask.

If someone can prove me wrong, by all means, do so!

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list