[
https://issues.apache.org/jira/browse/IMAGING-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915400#comment-13915400
]
Gary Lucas edited comment on IMAGING-127 at 2/28/14 2:57 AM:
-------------------------------------------------------------
I've thought about working on this problem a couple of times. One of the
reasons I've never made much progress on it is that I lack good sample data.
Would you be in a position to supply some multi-page TIFFs? I'd prefer samples
containing relatively small images. It will make development easier to work
with smaller files in the initial phase.
Alternately, if you know of a source of sample images in the public domain on
the web, please let me know.
was (Author: gwlucas):
I've thought about working on this problem a couple of times. One of the
reasons I've never made much progress on it is that I lack good sample data.
Would you be in a position to supply some multi-page TIFFs? I'd prefer samples
containing relatively small images. It will make development easier to work
with smaller files in the initial phase.
> API to get a single image should allow choosing which image
> -----------------------------------------------------------
>
> Key: IMAGING-127
> URL: https://issues.apache.org/jira/browse/IMAGING-127
> Project: Commons Imaging
> Issue Type: Improvement
> Reporter: Trejkaz
>
> getBufferedImage() only returns the first image. There should be a way to
> retrieve any image by index (and by extension, an API to get the image count.)
> getBufferedImages() cannot be used for large multi-page TIFF files, because
> creating that many BufferedImage objects causes an OutOfMemoryError.
> (For that matter, a method to get a scaled down copy would be useful as well,
> as some formats can optimise that not to retrieve all the data, but also it
> means you can reduce the memory usage for absolutely massive images.)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)