bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/37127] New: BMP EncodeRGB24.encode(): scanlines must be p


From: mathieu dot baron at gmail dot com
Subject: [Bug classpath/37127] New: BMP EncodeRGB24.encode(): scanlines must be padded to an even 4-byte boundary
Date: 15 Aug 2008 13:11:15 -0000

All Bitmap scanlines must be padded to an even 4-byte boundary.

Steps to reproduce:
  Encode a bitmap with a width that is not a produce of 4.
  When ((image.width % 4) != 0)

See attached file for proposed solution.
  Search for "MBaron fix -->" string in the attached file to 
  locate modified code.


-- 
           Summary: BMP EncodeRGB24.encode(): scanlines must be padded to an
                    even 4-byte boundary
           Product: classpath
           Version: 0.97.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mathieu dot baron at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37127





reply via email to

[Prev in Thread] Current Thread [Next in Thread]