[gstreamer-bugs] [Bug 164197] [pngdec] & [pngenc] The decoded image is in RGB(LE) byte order

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Jan 17 07:01:06 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-17 10:01 -------
No idea... Probably most everything that dealt with pngdec's output assumed that
bytes were in RGB order (which is true on LE), regardless of masks.

(On the other hand, I misunderstood colorspace stuff before, this might be
another case.. Though,
http://www.libpng.org/pub/png/spec/iso/index-object.html#7Integers-and-byte-order
 and http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-3.7 make me
quite confident I'm right this time. Provided that my information is correct
that network byte order == big-endian. This means that if the thing is stored in
RGB byte order, always, then with big-endian notation, that's exactly BGR)

------- 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