transparency of rotated GIF files
roybraam at B3PARTNERS.NL
Fri Jun 29 03:05:14 EDT 2007
I think this can be solved with fonts. So create your own font with the symbols. But i havn't tested it.
From: Richard Duivenvoorde [mailto:rdmailings at DUIF.NET]
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: Thu, 28 Jun 2007 20:55:28 +0200
Subject: Re: [UMN_MAPSERVER-USERS] transparency of rotated GIF files
I've been fiddling with this also, but was not successfull. I found that
it's only possible to rotate 90, 180 and 270 degree's WITH transparency,
but only with png24 (not png8), all other degrees will result in some
semitransparent block around the symbol.
Somebody suggested problems with the underlying gdlib at that time?
If you (or somebody else) manage(s) to get this working: please let
for example see:
Roy Braam wrote:
> I've got a question about the transparency of rotated GIF files. Perhaps
> it's asked a many times but i can't find a answer on the internet.
> The layer:
> STATUS OFF
> "wms_title" "somelayer"
> CONNECTIONTYPE postgis
> NAME "somelayer"
> CONNECTION "user=postgres password=xxxx dbname=xxxx host=xxxxx"
> DATA "the_geom from somelayer"
> #MAXSCALE 100000
> TYPE POINT
> DUMP TRUE
> TEMPLATE bla
> TOLERANCE 10
> TRANSPARENCY alpha
> EXPRESSION ('[s]'="B")
> NAME "Brug"
> ANGLE [road_direction]
> COLOR 0 0 255
> SYMBOL "bridge.gif"
> If i don't rotate the image then the image is transparent but if i add
> the property angle [road_direction] the image rotates fine but isn't
> transparent any more. How can a i solv this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapserver-users