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

Home » Public Forums » archive » Re: Baffled by color postscript
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: Baffled by color postscript [message #14564 is a reply to message #14560] Mon, 08 March 1999 00:00 Go to previous messageGo to previous message
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
In article <36E43A2C.176B9C7B@cis.rit.edu>, drwpci@cis.rit.edu wrote:

> OK, I've been through many of David's great web pages, and through the portion
> of his book related to the subject. Still, I get only monochrome output, or
> none at all. Here is what I am doing. Note that this works perfectly for the X
> display (that part between the X-only comments). Running on SGI Octane, IDL
> 5.0 MIPS
>
> ;;;; X-only code starts
> ; loop through the data rgb_index() returns the 24 bit color
> for i = 0, l-1 do begin
> !p.color = rgb_index(my_rgb[0,i],my_rgb[1,i],my_rgb[2,i])
> plots, x[i], y[i], psym=4
> end

The IDL PostScript device will display 24-bit color *images*, but will
*not* display 24-bit line graphics (plot, plots, etc.).

I had the same problem a few months back. Because of the poor
documentation of the PS-device color features, even the RSI support tech
had trouble discovering this.

I filed a request with RSI to add full 24-bit color support to their PS
driver. I hope you will do the same. (And anyone else out there who ever
hopes to do 24-bit color graphics!) I'm disappointed that this has never
been done while scads of other 'useful' features have been added to the
language.

The only workaround I know of is to use a high-resolution 24-bit bitmap
(X-Windows or Z-buffer), write the bitmap to a file, import the bitmap
into a 24-bit-aware program, and then print it. I've been using
GraphicConverter on my Mac, but something like xv would probably work on
Unix.

Ken Bowman

--
Kenneth P. Bowman, Professor 409-862-4060
Department of Meteorology 409-862-4466 fax
Texas A&M University bowmanATcsrp.tamu.edu
College Station, TX 77843-3150 Change the AT to @
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Large Image Handling FAQ?
Next Topic: cancel button to stop w/in an iterative loop?

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

Current Time: Fri Oct 10 14:15:05 PDT 2025

Total time taken to generate the page: 1.11553 seconds