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

Home » Public Forums » archive » Re: overlaying a transparent 24-bit image with different pixel scale
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: overlaying a transparent 24-bit image with different pixel scale [message #73231 is a reply to message #73230] Fri, 29 October 2010 11:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> I can calculate the appropriate normalized coordinates corresponding
> to the corners of where the image should be placed. I've tried feeding
> that and the 24-bit image into TVIMAGE, but it uses a white background
> for the alpha channel, not what already exists on the display. And
> David's example for overlaying things (http://www.dfanning.com/ip_tips/
> transparentpng.html) assumes a relative pixel scale of 1.

Well, a new keyword will probably fix that up! :-)

I was going to make a change to TVImage today anyway,
so I might as well do this at the same time. My only
concern is that if I take what's in the display window
as the background for the alpha channel, this will NOT
make it possible to display the image in PostScript.
(No window to read from.) Is this a limitation you
can live with?

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Orbit Calculation
Next Topic: Separated at Birth?

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

Current Time: Fri Oct 10 23:01:12 PDT 2025

Total time taken to generate the page: 0.72002 seconds