Again: imgObj2java.awt.image
Oliver Lichte
lichte at ICBM.DE
Fri Feb 17 08:56:32 PST 2006
Hi Fernando and thank you very much for your answer,
I need that for an abstraction layer on mapserver to develop desktop
applications. Do you know what imageObj.getByte() returns? There is a lack of
documentation for JavaMapserver-API, yet, isn't it?
Best regards,
Oliver
Am Freitag, 17. Februar 2006 17:31 schrieb Fernando Simon:
> 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 <lichte at icbm.de>) 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
--
Junior Research Group IMPULSE
ICBM * Carl-v.-Ossietzky University of Oldenburg
PO-Box 2503 * 26111 Oldenburg - Germany - http://www.icbm.de/impulse
room: W15-2-239 * fon:+49-441-798-3622 * fax:+49-441-798-3404
More information about the MapServer-users
mailing list