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

Home » Public Forums » archive » Re: transparent GIF pixels
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: transparent GIF pixels [message #21155 is a reply to message #21142] Thu, 10 August 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:

> Kenneth Mankoff (mankoff@lasp.colorado.edu) writes:
>
>> Is it possible to create transparent pixels?
>>
>> It appears from the help that you can, but only when you write png's to
>> disk. I have tried this and have been unsuccessful.
>>
>> Anyways, i want to do it in a situation where i don't write and immediatly
>> read just to get my transparencies. I would like to make them transparent
>> while the image is in memory. And i would prefer gifs, not png's.
>>
>> thanks for any clues or pointers.
>
> I'd try something like this with a 2D image:
>
... deletia ...

David, I think he's talking specifically about GIF transparent pixels.
I understand that you can reserve one GIF color to be transparent, so
to speak. Any pixels with that color are not rendered, so any
background graphics can show through. This can be especially useful
in web programming. I don't think he's actually trying to render it
on the screen himself.

Unfortunately, the answer to the question appears to be that there is
no way to assign transparent GIF pixels in IDL. There are no options
to WRITE_GIF that would satisfy this requirement.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: No. of variables allowed?
Next Topic: Re: Dynamic menus on base widget using MBAR

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

Current Time: Mon Dec 01 19:43:08 PST 2025

Total time taken to generate the page: 0.08175 seconds