DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41149


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From [EMAIL PROTECTED]  2006-12-11 12:09 -------
Yet another reason for a redesign of the image package. The reason for the NPE
is the loadBitmap() call in ImageIOImage.loadDimensions(). The class decodes the
full image in order to get at the dimensions and loadBitmap() closes the
InputStream when it's done.

I don't have time right now to test that it won't break anything but one could
change loadDimensions() in ImageIOImage so it doesn't call loadBitmap() if it
has the resolution and extents of the image (which it can get from the
ImageReader). When this is done all image formats that are registered in
ImageFactory for loading with ImageIOImage need to be retested with RTF and at
least PDF output.

HTH

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to