Summary: | FOP crashing with exception when embedding PNG | ||
---|---|---|---|
Product: | XMLGraphicsCommons - Now in Jira | Reporter: | Oliver Kiddle <okiddle> |
Component: | image codecs | Assignee: | XML Graphics Project Mailing List <general> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fop-dev |
Priority: | P2 | ||
Version: | 1.3.1 | ||
Target Milestone: | -- | ||
Hardware: | Sun | ||
OS: | Solaris |
Description
Oliver Kiddle
2008-09-12 03:41:55 UTC
Oliver sent me a test file off-list. The PNG contains a pHYs chunk but the resolution is set to 0. This PNG is certainly bad but it is possible to make XML Graphics Commons's image loader framework more robust so it doesn't throw an exception in such a case. Will commit a fix shortly. Fixed now in XML Graphics Commons Trunk: http://svn.apache.org/viewvc?rev=696964&view=rev |