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

Home » Public Forums » archive » Re: switching PS device from color to b/w?
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: switching PS device from color to b/w? [message #31385 is a reply to message #31256] Tue, 09 July 2002 17:03 Go to previous message
condor is currently offline  condor
Messages: 35
Registered: January 2002
Member
Somone wrote:
>> What is the difference between:
>>
>> DEVICE, color=0
>> and
>> DEVICE, /color, bits_per_pixel=1

From a conceptual point of view, the secon line still uses color, even
though it can distinguish only between two of them because it has only
one bit available. But the second line could in principle produce
blue-on-purple or red-on-green or even yellow-on-yellow. The first
line properly disbles the use of color entirely.

David Fanning <david@dfanning.com> wrote in message news:<MPG.17838661372d6237989911@news.frii.com>...
> And, remember, in PostScript you can have any color background
> you want, as long as it is white. But that is a discussion
> for another day. :-)

Actually, this is incorrect: PostScript doesn't have a concept of a
"background color", you get whatever you plot on a clear (or
transparent) "background". The same PS plot sent to a printer with red
paper in it will not plot a white background onto the red paper -- it
will simply use whatever the background color already is (i.e. red in
this case).

The suggested piece of code simply plots a rectangle in a certain
*foreground* color and then uses that rectangle as a background to
plot something else onto.

All the while there is no "background" anywhere...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: changing editors?
Next Topic: how to debug floating error

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

Current Time: Tue Dec 02 13:03:21 PST 2025

Total time taken to generate the page: 0.00245 seconds