Details
-
Improvement
-
Status: Open
-
Resolution: Unresolved
-
2.6
-
None
-
None
-
Operating System: All
Platform: All
Description
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).