comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Device's bits_per_pixel keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Device's bits_per_pixel keyword [message #13436] Thu, 12 November 1998 00:00 Go to previous message
Charles Cavanaugh is currently offline  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?&nbsp; 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&nbsp; 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>&nbsp;
<BR>&nbsp;

<P>Harald Frey wrote:
<BLOCKQUOTE TYPE=CITE>bits_per_pixel&nbsp; 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>
&nbsp;
<PRE>--&nbsp;
Charles Cavanaugh
MOPITT &amp; HIRDLS Programs
National Center for Atmospheric Research
Boulder, CO, USA
email: cavanaug@ucar.edu
phone: (303) 497-2919
fax&nbsp; : (303) 497-2920</PRE>
&nbsp;</HTML>
[Message index]
 
Read Message
Read Message
Previous Topic: passing object references
Next Topic: Re: avoiding for loops

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:31:28 PDT 2025

Total time taken to generate the page: 0.50328 seconds