[mapserver-dev] Writing text to image after map rendering

Tamas Szekeres szekerest at gmail.com
Thu Oct 27 15:36:57 EDT 2011


Fabrizio,

The most reasonable approach is to add a new annotation layer to the mapObj
with the desired transform, opacity and postlabelcache setting.

Alternatively you could load the resulting byte array to a .NET Image object
then use GDI+ to draw the text over the image.

Best regards,

Tamas



2011/10/26 GMail <itacasoft at gmail.com>

> Hello everybody,
> I'm using MapScript-C# to render PNG map images and send it to a
> Silverlight
> client.
> Is it possible to write some text (e.g.: copyright information) to the
> imageObj before to send the image stream to the client? How?
> Thanks
>
> Fabrizio
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20111027/2164bc39/attachment.html


More information about the mapserver-dev mailing list