[mapserver-dev] regression in phpmapscript ?
Jeff McKenna
jmckenna at dmsolutions.ca
Thu Mar 20 09:51:41 EDT 2008
Can one of the phpmapscript devs help Oliver out? I can only find an
old ticket related to pasteImage transparency:
http://trac.osgeo.org/mapserver/ticket/463
The latest MS4W also upgraded GD to 2.0.35 in its MapServer support, but
I don't know if this affects the issue.
-jeff
Oliver Christen wrote:
> Hi,
>
> I have observed some kind of regression in the way the php_mapscript
> function "pasteImage" behave in a php_mapscript compiled for Mapserver
> 5.2.0 / PHP 5.2.5 (typicaly the one available in the latest MS4W package)
>
> In this version, the pasteImage only handle the transparency correctly
> for 8bit images (as it is clearly stated in the documentation "Note" at
> the bottom
> http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/imageobj)
>
>
> BUT, until before these versions of php/mapserver, the transparency
> worked fine with 16bit images (jpeg for example)
> The latest working version I have is a php_mapscript compiled for
> Mapserver 5.0.2 / PHP 5.2.0
>
> So, my questions are:
>
> was it really normal for the pasteImage function to handle transparency
> for 16bit images until recently ? because the "Note" seems to imply it
> is not.
>
> was there any recent code modification in php mapscript's function
> pasteImage ?
>
> what could have possibly changed between php 5.2.0 and 5.2.5 that would
> change the behaviour of the pasteImage function ?
> I looked at php's changelog but couldnt find any clue beside the fact
> libGD was updated to 2.0.35 in PHP 5.2.2, but again I couldnt notice any
> significant info in libGD changelog.
>
> thanks in advance
>
> Oliver Christen
>
>
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the mapserver-dev
mailing list