gif highway shield transparency issues
Mark Wright
sparkymeister at GMAIL.COM
Tue Dec 20 18:05:25 PST 2005
Try converting the shield from a transparant gif to a transparant png.
Perhaps transparancies are lost when converting between file types.
Mark
On 12/20/05, Clever, Max <Maxc at spicergroup.com> wrote:
> Hi Steve,
>
> it was transparent and did work when I set the imagetype to GIF in the mapfile. This made the rest of my aerial photos lose a lot of visual quality but did make my GIF transparent. I previously had the Imagetype set to png24 because it displays my aerials really well. Unless I can get the GIF to be transparent in png24 I don't think I want to switch to the GIF setting just for one symbol. I have attached my highway shield gif. I hope you can still help.
>
> -----Original Message-----
> From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
> Sent: Tue 12/20/2005 5:11 PM
> To: Clever, Max
> Cc:
> Subject: Re: [UMN_MAPSERVER-USERS] gif highway shield transparencyissues
>
>
>
> Max: Is the image transparent? Please pass along so I can have a look.
>
> Steve
>
> >>> "Clever, Max" <Maxc at SPICERGROUP.COM> 12/20/05 11:06 AM >>>
> I took out the TRANSPARENT line in the symbol file and the map still shows the shield with a white canvas behind it. I checked my image in a separate HTML with a colored background just to make sure the image was transparent and it was. Is there a certain type of transparency that is necessary for the image? Is there some setting in the php or Map file that would not allow transparent images to work? I'm at my wits end. I am using Mapserver 4.2. I really hope I'm not wasting peoples time with this question.
>
>
>
>
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
> Behalf Of Steve Lime
> Sent: Friday, December 16, 2005 1:58 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] gif highway shield transparency
> issues
>
>
> I'm assuming you must be looking at old documentation. To make a pixmap symbol transparent you must create
> a transparent image. The transparent parameter in a symbol file is unused.
>
> Steve
>
> >>> "Clever, Max" <Maxc at SPICERGROUP.COM> 12/16/05 11:17 AM >>>
> I've tried ffffff and #ffffff and fff and apparently the TRANSPARENT index cannot be letters because it won't let the mapfile process right when I try those.
>
> -----Original Message-----
> From: punk.kish at gmail.com [mailto:punk.kish at gmail.com]On Behalf Of P
> Kishor
> Sent: Friday, December 16, 2005 11:35 AM
> To: Clever, Max; MapServer
> Subject: Re: [UMN_MAPSERVER-USERS] gif highway shield transparency
> issues
>
>
> Clever, Max wrote:
> > Hi All,
> .
> > R:255 G:255 B:255 Hex:ffffff index:000 Websafe
> > Transparent
> ..
> > Am I not making the gif transparent properly in fireworks? I've also tried "TRANSPARENT 000" b
>
> 000 is black
> try fff
>
> --
> Puneet Kishor
>
>
>
>
>
>
--
Have fun or die trying - but try not to actually die.
http://www.AboveCalifornia.com
Got Mac OS X? Get the AboveCalifornia Sherlock Channel:
sherlock://www.AboveCalifornia.com/sherlock/SherlockChannel.xml?action=add
More information about the MapServer-users
mailing list