https://issues.apache.org/bugzilla/show_bug.cgi?id=46468
Summary: PNG's - warn if resolution can't be determined
Product: XMLGraphicsCommons
Version: Trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Image codecs
AssignedTo: [email protected]
ReportedBy: [email protected]
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).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]