Decompress and load only part of an image?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

b.e.wilson
Posts: 26
Joined: Wed Mar 09, 2005 7:44 pm

Decompress and load only part of an image?

Post by b.e.wilson »

I'm working with some very large images, presenting zoomed portions to the viewer (see http://research.uvsc.edu/herbarium/virt ... =00001.jpg).

Is there a way to decompress only a portion of the large .jpg into memory before cropping to save time?

I realize this is an unusual need, but there are many scientific applications (GIS mapping and imagry and botony particularly) where the presentation of large files over the web is essential.
User avatar
xnview
Author of XnView
Posts: 45870
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Decompress and load only part of an image?

Post by xnview »

Anonymous wrote:I'm working with some very large images, presenting zoomed portions to the viewer (see http://research.uvsc.edu/herbarium/virt ... =00001.jpg).

Is there a way to decompress only a portion of the large .jpg into memory before cropping to save time?

I realize this is an unusual need, but there are many scientific applications (GIS mapping and imagry and botony particularly) where the presentation of large files over the web is essential.
Currently it's not possible
Pierre.
b.e.wilson
Posts: 26
Joined: Wed Mar 09, 2005 7:44 pm

Post by b.e.wilson »

I think the "-crop" function of this jpeg addition: http://sylvana.net/jpegcrop/ is what I'm after. It'd be very cool if you could add it to GflAx.