Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0-alpha2
-
None
Description
From: https://github.com/apache/commons-imaging/pull/273#pullrequestreview-1264740338
A 24-bit PCX image has 8 bit per pixel and no color palette. The code is handling the parsing, but when you try to write it (as the roundtrip test does) it fails due to an access to the palette object in the PcxWriter (even though the palette is null/non-existent).
Fix is really simple. But we must have a test case to prevent regressions.
When fixing this one, we must also update the header of the Pcx classes to state the specification and version used, related to IMAGING-341