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

Home » Public Forums » archive » Problem with long integer color when saving a cgwindow to file
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: Problem with long integer color when saving a cgwindow to file [message #87895 is a reply to message #87894] Mon, 03 March 2014 09:21 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> The way this is done is with cgWindow_SetDefs:
>
> cgWindow_SetDefs, PS_Decomposed=1

By the way, if you don't want to permanently set your PostScript device
up in 24 bit color, you can also set the PS_Decomposed keyword on the
cgControl command to do it for just that one instance.

cgcontrol, output = 'test.jpg', ps_decomposed=1

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL_Object example // help with
Next Topic: Codeless Language Module for IDL for BBEdit/TextWrangler

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

Current Time: Fri Oct 10 17:02:19 PDT 2025

Total time taken to generate the page: 0.88049 seconds