[
https://issues.apache.org/jira/browse/XGC-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
dian hina updated XGC-18:
-------------------------
oke finish
> 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: 2.6
> Environment: Operating System: All
> Platform: All
> Reporter: Jason Harrop
> Assignee: XML Graphics Project Mailing List
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]