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

Home » Public Forums » archive » Keep getting a transparent background on a composite image
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: Keep getting a transparent background on a composite image [message #90747 is a reply to message #90745] Wed, 08 April 2015 19:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
simulana@gmail.com writes:

> It's hard to see the problem if you open up the png on a browser, because the browser natively has a white background. However if you open up the png with a photoviewer like Picasa or against a black background you will see that the background of the border of the image is transparent (anywhere there is not a cgimage plot).
>
> So I guess my problem has something to do with the device command, or some other thing missing. I have tried setting !P.Background, but with no apparent effect.

Well, I've tried a number of photo viewers, but I have to admit I don't
see any problems with the output. I put it in Lightroom, which has a
black background, and I don't see any black at all around the border of
any image. In fact, the PNG image appears to me to have a white
background, as I would expect from a PNG created from a PostScript file.

If you are saying that your images don't always fill up your image
positions, I can believe that. That would be a result of using the two
keywords I mentioned before simultaneously and would be a mistake.

Anyway, still not sure what your real question is. The output looks
great to me.

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
Read Message
Read Message
Read Message
Previous Topic: CXFORM on WinXP
Next Topic: MPFITFUN error -- only reading the first data value

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

Current Time: Wed Oct 08 13:56:31 PDT 2025

Total time taken to generate the page: 0.00183 seconds