[libav-bugs] [Bug 1156] New: The only 32bpp Sun Raster file sample is invalid

bugzilla at libav.org bugzilla at libav.org
Fri May 3 02:11:49 CEST 2019


https://bugzilla.libav.org/show_bug.cgi?id=1156

            Bug ID: 1156
           Summary: The only 32bpp Sun Raster file sample is invalid
           Product: Infrastructure
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: ---
         Component: libav.org
          Assignee: bugzilla at libav.org
          Reporter: magnus.bergman at snisurset.net

I'm making an image viewer library and I use files from
https://samples.libav.org/ to test it's ability. There is some inconsistency
regarding 32bpp Sun Raster files. The one sample file in the collection doesn't
display correctly with software I tested (libav doesn't even support 32bpp Sun
Raster files by the way). After investigating the matter I can't come to any
other conclusion then that the file 32bpp.ras is invalid. The file has the
channel order BGR0 (where 0 is padding), but the correct order is 0BGR. My main
evidence to support this claim is that it's called "XBGR" in the header file
from Sun (which is the only official documentation I know of). It's also what
what other software (such as Gimp, netpbm and ImageMagick) uses.

On the other hand I don't know where the file 32bpp.ras comes from. Perhaps
it's created by an application that is considered authoritative, perhaps even
released by Sun. Which would make the matter more complicated.

Otherwise I could create a file using ImageMagick for the sample collection so
that there is at least one valid file.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20190503/ecf6c8cc/attachment.html>


More information about the libav-bugs mailing list