xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46468] New: PNG's - warn if resolution can't be determined
Date Sun, 04 Jan 2009 11:25:19 GMT
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: general@xmlgraphics.apache.org
        ReportedBy: jason@plutext.org


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: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message