[MapServer-users] PHP-Mapscript: write imageObj to stdout
Sven Schroeter
schroeter at netgis.de
Mon Nov 13 00:43:54 PST 2023
Hi Jan,
maybe you need this:
//SWIG
if($mapscriptSwig) {
echo msIO_getStdoutBufferBytes();
}else{
echo ms_iogetStdoutBufferBytes();
}
Sven
Am 10.11.2023 um 18:59 schrieb Jan Hartmann via MapServer-users:
>
> Hi,
>
> In previous versions of PHP-Mapscript there was a function
> ImageObj->saveImage(fn), that wrote an ImageObj to a file on disk.
> When fn was empty, the image was sent to stdout. In SWIG-Mapscript,
> this function has been replaced by ImageObj->save(fn), but fn cannot
> be empty anymore. How do I send an ImageObj directly to stdout (i.e.
> to the browser)?
>
> Jan
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list