Re: Help: Why is my background color always transparent in ps? [message #66233] |
Tue, 28 April 2009 06:34  |
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  |
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.
|
|
|