[PLUG] Background color of a gif image on a web page...

Grish grishnav at egosurf.net
Sun Aug 31 02:36:02 UTC 2003


Michael C. Robinson wrote:

>On Sat, 2003-08-30 at 22:28, Sandy Herring wrote:
>  
>
>>On Sat, 30 Aug 2003, Sandy Herring wasn't thinking when he wrote: 
>>    
>>
>>>The value for the -transparent option is the color to be regarded as
>>>transparent. In your case, black is the color. The command would be...
>>>
>>>    convert -transparent "#FFFFFF" back.gif
>>>      
>>>
>>doh! s/FFFFFF/000000/
>>
>>Sandy
>>-- 
>>Sandy Herring, RHCE                        o              sandy at herring.org
>>Peck of Pickled Pisces               __  o               http://herring.org/
>>UNIX or Web authoring questions?  |\/ o\  o  http://herring.org/finger.html
>>->http://herring.org/techie.html  |/\__/     http://herring.org/pub-key.asc
>>    
>>
>
>Okay I've done that, now how do I use the converted gif in my html
>code to get it to show up better?  I'm using <IMG SRC="back.gif"></IMG>.
>
>Another approach I've discovered is encapsulating the gif in a table,
>It look tacky though considering you see a double uneven box around
>the image.
>
>  
>
Well, you could start with correct HTML:

http://htmlhelp.org/reference/html40/special/img.html

All you should have to do is switch the image tag to use the converted 
image instead of the original one.






More information about the PLUG mailing list