commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trejkaz (JIRA)" <>
Subject [jira] [Updated] (IMAGING-127) API to get a single image should allow choosing which image
Date Mon, 18 Aug 2014 00:08:18 GMT


Trejkaz updated IMAGING-127:

    Attachment: june 1 part I.tif

Sorry for the delay. I have this stuff on my home email but all the good source data was at

Here's a file I can redistribute. It's particularly interesting because every page has a slightly
different size. Since it seems like it came from a scanner, there might be other interesting

> API to get a single image should allow choosing which image
> -----------------------------------------------------------
>                 Key: IMAGING-127
>                 URL:
>             Project: Commons Imaging
>          Issue Type: Improvement
>            Reporter: Trejkaz
>         Attachments: 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

View raw message