Page 1 of 1

writeImage sets resolution to integers

Posted: 2009-04-10T04:20:48-07:00
by atomicplayboy
I have a problem with writeImage. I use setImageResolution to set the "pint size" as exact as possible and it works fine (getImageResolution shows the x and y resolution as floats). But when I use writeImage and yet again check the x&y resolution it shows as integers.

ex.
I have an image I want to be as close to 60 x 80 cm as possible for printing.
If I set the resolution to 105,495 dpi, it becomes 60 x 80,01 cm for printing (close enough).
After I use writeImage, it gets 105 dpi and is 60,28 x 80,38 cm (not close enough).


Any ideas?