Re: Device's bits_per_pixel keyword [message #13436] |
Thu, 12 November 1998 00:00  |
Charles Cavanaugh
Messages: 8 Registered: July 1997
|
Junior Member |
|
|
<HTML>
Harald,
<P>Thanks for your reply, but does your solution reduce only the file size,
or does it
<BR>also reduce the plot size? I specifically want only the file
size to be reduced.
<P>According to the IDL 5.0 Reference Guide Volume 1, on page 74, in the
<BR>BITS_PER_PIXEL keyword explanation :
<P><I>"IDL is capable of producing PostScript images with 1, 2, 4, or 8
bits per pixel. Using more</I>
<BR><I>bits per pixel gives higher resolution at the cost of generating
larger files.</I>
<BR><I>BITS_PER_PIXEL is used to specify the number of bits to use."</I>
<P>I interpret that to mean bits_per_pixel has something to do with the
size of the PS output.
<BR>Do I misunderstand you or the keyword explanation?
<P>Charles
<BR>
<BR>
<P>Harald Frey wrote:
<BLOCKQUOTE TYPE=CITE>bits_per_pixel has nothing to do with the size
of the PS output, it is
<BR>just the number of bits that is adjusted to each pixel and allows
<BR>display in black/white or in any of 255 grey-levels. You have to use
the
<BR>xsize and ysize keywords.
<P>set_plot,'ps'
<BR> device,xsize=15.,ysize=15.,xoffset=3.,yoffset=5.,scale_facto r=1.,bits=8,/color
<P>.
<BR>.
<BR>device,/close
<P>Harald
<BR>hfrey@ssl.berkeley.edu</BLOCKQUOTE>
<PRE>--
Charles Cavanaugh
MOPITT & HIRDLS Programs
National Center for Atmospheric Research
Boulder, CO, USA
email: cavanaug@ucar.edu
phone: (303) 497-2919
fax : (303) 497-2920</PRE>
</HTML>
|
|
|