[Mapserver-users] perl/mapscript: gd pointer to imageObj ?
Lowell Filak
lfilak at medinaco.org
Fri May 21 12:27:43 PDT 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);
> ...
> $map->drawLabelCache($img),
> ...
> $gdptr = $img->gd; # ??? like that
> ...
>
> Thanks
> Manfred
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).
Lowell
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list