Re: Tiff conversion
Re: Tiff conversion
- Subject: Re: Tiff conversion
- From: Clyde McQueen <email@hidden>
- Date: Tue, 14 Aug 2001 22:50:19 -0700
Sorry for the delay.
On Saturday, August 11, 2001, at 01:31 PM, Ivan Salina Fernandes wrote:
Thank you for your great help. I found how to create an algorithm, and
it's working fine. But now I'm having a problem getting the bytes. When
the Tiff images have 300 dpi, my array goes out of memory (I'm using
java). So, I have to try two kinds of solution:
1- Find a solution for de out of memory error, or;
2- Convert the images to 72 dpi (using cocoa).
I don't know about the memory issue (I don't use Java on OS X).
As for conversion to 72dpi, the issue is not the dpi but the total
number of pixels, right? (DPI is just a presentation issue.) If you're
trying to reduce the size of the image by downsampling you'll need to
look at downsampling algorithms. Here's a quick tutorial with code:
http://www.engineering.uiowa.edu/~gec/248_s00_students/john_dill/hw2/part1/
hw2_p1.html