[
https://issues.apache.org/jira/browse/XGC-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luis Bernardo updated XGC-18:
-----------------------------
Fix Version/s: (was: --)
Trunk
> PNG's - warn if resolution can't be determined
> -----------------------------------------------
>
> Key: XGC-18
> URL: https://issues.apache.org/jira/browse/XGC-18
> Project: XMLGraphicsCommons
> Issue Type: Improvement
> Components: image codecs
> Affects Versions: Trunk
> Environment: Operating System: All
> Platform: All
> Reporter: Jason Harrop
> Assignee: XML Graphics Project Mailing List
> Fix For: Trunk
>
>
> If, for a PNG image, ImageMagick's identify says:
> Resolution: 320x320
> Units: Undefined <----------------
> then ImageInfo will use a default value, using
> Toolkit.getDefaultToolkit().getScreenResolution(), which in my case is 160.
> Nothing wrong with that I suppose, but it would be helpful if a warning was
> logged or something, so you knew to fix the image.
> When PreloaderImageIO.preloadImage does:
> ImageIOUtil.extractResolution(iiometa, size);
> it is finding the Dimension child, but not "HorizontalPixelSize" or
> VerticalPixelSize (these are null).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]