[ https://issues.apache.org/jira/browse/IMAGING-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated IMAGING-344: ------------------------------------ Fix Version/s: 1.0.0-alpha7 (was: 1.0.0-alpha6) > NPE in PcxWriter for PCX without color palette (24-bit) > ------------------------------------------------------- > > Key: IMAGING-344 > URL: https://issues.apache.org/jira/browse/IMAGING-344 > Project: Commons Imaging > Issue Type: Bug > Components: Format: PCX > Affects Versions: 1.0-alpha2 > Reporter: Bruno P. Kinoshita > Priority: Major > Fix For: 1.0.0-alpha7 > > > 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 -- This message was sent by Atlassian Jira (v8.20.10#820010)