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

Home » Public Forums » archive » Re: Help: Why is my background color always transparent in ps?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Help: Why is my background color always transparent in ps? [message #66233] Tue, 28 April 2009 06:34 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
claydodo writes:

> When I try to plot something on a ps and then convert it into png,
> e.g. ps_start --> loadct --> plot with color --> ps_end, /png. All
> other colors behave good, but the result picture is ALWAYS HAVING A
> TRANSPARENT BACKGROUND no matter which color I choose for it.
> While when plotting directly on X, the background color works fine.
>
> Do I have to set anything up in my system? I'm currently running IDL
> on Ubuntu 9.04 with all the stuffs like gs, imagemagick installed with
> apt-get by default.

Get the *latest* version of PS_END, and uncomment the "alpha"
command in the code.

http://www.dfanning.com/programs/ps_end.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Help: Why is my background color always transparent in ps? [message #66360 is a reply to message #66233] Wed, 29 April 2009 04:23 Go to previous message
claydodo is currently offline  claydodo
Messages: 4
Registered: April 2009
Junior Member
On Apr 28, 9:34 pm, David Fanning <n...@dfanning.com> wrote:
> claydodo writes:
>> When I try to plot something on a ps and then convert it into png,
>> e.g. ps_start  -->  loadct --> plot with color --> ps_end, /png. All
>> other colors behave good, but the result picture is ALWAYS HAVING A
>> TRANSPARENT BACKGROUND no matter which color I choose for it.
>> While when plotting directly on X, the background color works fine.
>
>> Do I have to set anything up in my system? I'm currently running IDL
>> on Ubuntu 9.04 with all the stuffs like gs, imagemagick installed with
>> apt-get by default.
>
> Get the *latest* version of PS_END, and uncomment the "alpha"
> command in the code.
>
>   http://www.dfanning.com/programs/ps_end.pro
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks, David.
The problem is solved.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Building a mask from a vector file programmatically in ENVI
Next Topic: Re: Need advice on building an object container

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

Current Time: Fri Oct 10 20:43:10 PDT 2025

Total time taken to generate the page: 0.47872 seconds