Re: Large image re-scaling

From: Scott (nobody_at_xmission.com)
Date: 06/05/04


Date: Sat, 05 Jun 2004 18:16:25 GMT

On 4 Jun 2004 15:44:17 -0700, crwper@mustagh.com (Michael Cooper) wrote:

>I have a fairly large image (21600x21600x3) which I would like to
>enlarge to 32768x32768. I've tried several packages (GIMP,
>ImageMagick, Paint Shop Pro, Image Genius, PhotoZoom Pro, etc.), but
>they all seem to be trying to load the entire file into memory first.
>I'm not terribly fussy about the interpolation technique, although I'd
>like something better than the nearest-neighbour code I've just
>written. Bicubic would be fine. The image is currently in TIFF format.

Did you try bilinear interpolation? Where you're only scaling up by about
1.5x, you should only need to have a few raster lines in memory at any given
time - less than 1Mb total, I think.

-Scott