How do you get the image out of imageObj without having to save it?

Jim jim at E-MASI.COM
Wed Oct 6 17:09:49 EDT 2004


No, just use Content type image/jpeg


Jim Burnett
Free Visual Basic.NET GIS
http://www.visualbasicgis.com/



----- Original Message -----
From: "Ethan Alpert" <ealpert at DIGITALGLOBE.COM>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Wednesday, October 06, 2004 1:58 PM
Subject: [UMN_MAPSERVER-USERS] How do you get the image out of imageObj
without having to save it?


> $img = $map->draw();
>
> Now I just want to return the image with the correct content type from
> my CGI. Do I really need to save it first to do this?
>
> -e



More information about the mapserver-users mailing list