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 #21145 is a reply to message #21142] Thu, 10 August 2000 00:00 Go to previous messageGo to previous message
Kenneth Mankoff is currently offline  Kenneth Mankoff
Messages: 42
Registered: August 1999
Member
On 10 Aug 2000, Craig Markwardt wrote:
> davidf@dfanning.com (David Fanning) writes:
>
>> Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:
>>
>>> 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.
>>
>> I'm not so sure. But I admit "I would like to make them transparent
>> while the image is in memory." could be open to interpretation.
>> I thought he wanted to see transparent pixels in IDL. Why else would
>> he be saving and reading them back?
>
> I think he said he wanted to *avoid* writing and then reading back.
> Other than that let's keep agreeing.
>
> Craig

I'm using ION to make images for a website. ION is "IDL On [the] Net"

For those of you who know html, its really as simple as this to generate
images:

<html>
<ion_img>
<idl>
;;; idl code goes here
</idl>
</ion_img>
</html>

and *wow*, you have a gif or jpeg _inside_ your web page that is generated
based upon inputs supplied to the page by the user.

But, yes, GIF's can have pixels that are transparent in that they show the
background through them. WRITE_PNG has a transparent option, so i could
write a PNG with transparent pixels, then re-read it the NEXT command
(this stupid and slow), and then display that image to the page, and have
my transparent (see-through) pixels.

But i would prefer to do all that in memory, rather than using the
webserver to needlessly read/write to PNG image.

-ken.
[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: Sun Oct 12 12:05:21 PDT 2025

Total time taken to generate the page: 0.32065 seconds