[Mapserver-dev] Transparency, truetype label and jpeg RGB format:strange behaviour

David Graham dgraham at i3.com
Tue Apr 29 11:02:18 EDT 2003


Assefa:

If you are using GD 2.0.11 how are you supporting OUTPUT=GIF? I used 
your compilation here at i-cubed before building my own and it sure 
looked like it was supporting only 8bit raster images even when RGB was 
requested.

Just curious.

Dave


Yewondwossen Assefa wrote:

>The GD version ised is 2.0.11. I will do an upgrade to 2.0.12 and do a new build
>in the comming days.
>
>Later,
>
>Frank Warmerdam wrote:
>
>  
>
>>Claude Philipona wrote:
>>    
>>
>>>Hello,
>>>I have tested Mapserver 3.7 / PHP Mapscript (a win32 version of
>>>PHP-Mapscript compiled by dm solution, version April 23 2003):
>>>
>>>MapServer Version MapServer version 3.7 (development) OUTPUT=GIF OUTPUT=PNG
>>>OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=TTF
>>>SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
>>>SUPPORTS=WFS_CLIENT SUPPORTS=GD2_RGB INPUT=EPPL7 INPUT=OGR INPUT=GDAL
>>>INPUT=SHAPEFILE <br> PHP MapScript Version ($Revision: 1.159 $ $Date:
>>>2003/04/23 14:36:46 $)
>>>
>>>Everything works fine, except a strange behaviour when using output jpeg
>>>RGB, Label and transparent layer. It is impossible to get black label when
>>>there is any transparent layer under the "labeled layer". You just get
>>>"square" instaed of letter.
>>>
>>>I think this behaviour would be quite limitating when using transparency
>>>with RGB jpeg output.
>>>
>>>I don't know if it could be related to bug 271 (but it is marked resolved),
>>>or it it is a limitation or if I miused version 3.7
>>>
>>>I prepared a little page showing the problem with mapfile, output,...
>>>(so I don't pollute the mailing list with image attachment):
>>>
>>>http://c2cpc1.camptocamp.com/~claude/mapserver/mapserver_transparency.html
>>>
>>>If think this is a bug I will fill bugzilla.
>>>
>>>I will try the same on a Linux box the next few days.
>>>      
>>>
>>Claude,
>>
>>I wonder if you are using GD 2.0.12 or later.  This sounds like the bug
>>that was fixed in 2.0.12.  I am cc:ing Assefa at DMSG who may know what
>>version of GD 2 is being used.
>>
>>Best regards,
>>--
>>---------------------------------------+--------------------------------------
>>I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
>>light and sound - activate the windows | http://pobox.com/~warmerdam
>>and watch the world go round - Rush    | Geospatial Programmer for Rent
>>    
>>
>
>--
>----------------------------------------------------------------
>Assefa Yewondwossen
>Software Analyst
>
>Email: assefa at dmsolutions.ca
>http://www.dmsolutions.ca/
>
>Phone: (613) 565-5056 (ext 14)
>Fax:   (613) 565-0925
>----------------------------------------------------------------
>
>
>
>_______________________________________________
>Mapserver-dev mailing list
>Mapserver-dev at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
>
>
>  
>


-- 
David W. Graham
Director of Geospatial Applications Development
information integration and imaging, LLC
201 Linden St, Third Floor
Fort Collins, CO 80524
(970) 482-4400
dgraham at i3.com
http://www.i3.com






More information about the mapserver-dev mailing list