[Mapserver-users] perl/mapscript: gd pointer to imageObj ?
lfilak at medinaco.org
Fri May 21 15:27:43 EDT 2004
The following message was sent by Manfred Meier <m.meier at spiekermann.de>
on Fri, 21 May 2004 09:31:14 +0200.
> Hello list,
> i would like to modify an image created in mapscript, for example to add
> a logo or a chart diagram. For this i could use GD (having some
> knowledge how to do). So, can I get an GD-Pointer from the imageObj?
> Like for example:
> $img = $map->prepareImage();
> $layer->draw ($map, $img);
> $gdptr = $img->gd; # ??? like that
I don't think you can do that, however you could save the image and then
$image = GD::Image->newFromPng($file) for a work-a-round (but then you
probably already knew that).
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
More information about the mapserver-users