[ https://issues.apache.org/jira/browse/IMAGING-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno P. Kinoshita updated IMAGING-237: --------------------------------------- Assignee: (was: Bruno P. Kinoshita) > The PNG parser must inform the user if the compression method is not supported > ------------------------------------------------------------------------------ > > Key: IMAGING-237 > URL: https://issues.apache.org/jira/browse/IMAGING-237 > Project: Commons Imaging > Issue Type: Improvement > Components: Format: PNG > Affects Versions: 1.0-alpha1 > Reporter: Bruno P. Kinoshita > Priority: Minor > > Today I was looking at the ICCP chunk type and the PNG image parser, and > noticed that it was using the deflate compression only, regardless of the > compression method value passed by the user. > The documentation does say that deflate (0) is the supported compression, but > that vendor implementations may use different compression algorithms. So > instead of trying to use deflate (which would raise a runtime exception), we > should inform the user that the compression method is not supported. -- This message was sent by Atlassian Jira (v8.20.1#820001)