Hi Oliver,
I already used JavaMapscript but never needed to convert the imageobj to awt.image. I don't believe that it's possible to do directly, so the best way is save the image and after use the awt.image.
   Best regards.

------------------------------------------------------------------------
Fernando Simon
Mapserver and Oracle Spatial developer
G10 - Laboratorio de Computacao Aplicada - Brazil
http://www.univali.br/g10 - UNIVALI/CTTMAR
------------------------------------------------------------------------


Oliver Lichte (by way of Oliver Lichte <[EMAIL PROTECTED]>) wrote:
Hello.

Was this question too trivial or too difficult??? Unfortunately, no-one answered untit now, so I'll try it again:

I'd like to convert imageObj to java.awt.image. Is it possible to get direct
pixel access via Java mapserver-API or do I have always to create a temporary file to share the image?
What is the content of the byte-array returned by method getByte()?

Regards,
Oliver

  • [UMN_MAP... Oliver Lichte (by way of Oliver Lichte <[EMAIL PROTECTED]>)
    • Re:... Fernando Simon
      • ... Oliver Lichte
        • ... Benedikt Rothe

Reply via email to