[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postscript file sizes



Stuart Colley wrote:
> Lets say one has a huge array of data to print, you open the the PS
> device, TV the data (scaled to fit the whole page), then close the device
> and print the data. The PostScript file is HUGE.  So I thought about
> rebinning the data to make the resulting PS file smaller.
> 
> Working sort of backwards, presumably there must be some limit whereby
> making your array/PS file bigger does not result in a better quality image
> when you actually print it.  Anyone know how to determine this limit?

Exactly how big is your "huge array"? The native resolution of the IDL
PostScript device is 1000 pixels per cm, so you'd have to have a truly
large image before you ran out of PostScript resolution. For example, on
an A4 page (21.0 x 29.7 cm), the image would have to be 21000 by 29700
pixels in size to exceed the resolution of the PostScript device.

Normally I'd just use IMDISP for this purpose:
http://cimss.ssec.wisc.edu/~gumley/imdisp.html

IMDISP doesn't change the size of your image array. It just makes sure
it fits onto the PostScript page.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley