The reason for the preloading: Apache FOP, for example, only needs the image's intrinsic size during layout. Only when the document is rendered to the final format does FOP need to load the full image. Like this a lot of memory can be saved. @param uri the original URI of the image @param session the session context through which to resolve the URI @return the ImageInfo object created from the image @throws ImageException If no suitable ImagePreloader can be found to load the image orif an error occurred while preloading the image. @throws IOException If an I/O error occurs while preloading the image
|
|
|
|
|
|
|
|
|
|
|
|
|
|