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

Home » Public Forums » archive » 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 #13516 is a reply to message #13455] Fri, 13 November 1998 00:00 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
Harald Frey <hfrey@ssl.berkeley.edu> writes:

> bits_per_pixel has nothing to do with the size of the PS output, it is
> just the number of bits that is adjusted to each pixel and allows
> display in black/white or in any of 255 grey-levels. You have to use the
> xsize and ysize keywords.

> set_plot,'ps'
> device,xsize=15.,ysize=15.,xoffset=3.,yoffset=5.,scale_facto r=1.,bits=8,/color

> .
> .
> device,/close


I think there's some confusion over the word "size" here. The above commands
will affect the size of the plot on the page, but will have no effect on how
much disk space the file takes up. BITS_PER_PIXEL does have an effect on the
file size, but only for greyscale rendering, as discussed in my previous
posting.

William Thompson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Unknown #INFO
Next Topic: Unknown #INFO

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

Current Time: Sun Oct 12 12:19:54 PDT 2025

Total time taken to generate the page: 2.39921 seconds