[mapserver-users] binary data of image

Andreas Douvalis anddreas2 at yahoo.gr
Wed Oct 10 10:53:45 PDT 2012


I think I found one solution:

$image=$map->draw();

ob_start();
$image_save=$image->saveImage();
$image_binary = ob_get_contents();
ob_end_clean();

$image_binary  is what I need!


Please let me know if there is any other better idea !

Thanks

Douvalis Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121010/b53e2c41/attachment-0001.html>


More information about the mapserver-users mailing list