commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Quinane (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IMAGING-127) API to get a single image should allow choosing which image
Date Tue, 14 Jul 2015 04:37:04 GMT

     [ https://issues.apache.org/jira/browse/IMAGING-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luke Quinane updated IMAGING-127:
---------------------------------
    Attachment: 2472527552.gif

This will also apply to the frames of animated GIFs. Sample attached.

> 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
>             Fix For: Patch Needed
>
>         Attachments: 2472527552.gif, june 1 part I.tif
>
>
> 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.3.4#6332)

Mime
View raw message