rosa applet

Stephen Lime steve.lime at dnr.state.mn.us
Tue Apr 10 13:49:14 EDT 2001


Java doesn't natively support PNG, at least not commonly. There are 3rd party
class libraries that support it though, but I haven't tried them.

If you use GD 1.7+ (I believe) you'll get JPEG output support. 3.4 supports a couple
of new options IMAGETYPE and IMAGEQUALITY in cases where multiple image
formats are available the default is PNG but assuming JPEG support is in GD you'd
simply set IMAGETYPE JPEG to get jpg output. default quality is 75.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "massimo ambrosini" <massimo at utilia.it> 04/10/01 11:00AM >>>
Hi all, 
I Have this installation : 
MapServer Version 3.4 -GD_1_6 -FreeType -TIFF -EPPL7 -JPEG

When I run gmap demo I get the rosa applet not working.
If I switch to "java mode disabled" the demo works correctly.
Is that because the output with GD 1.6 is PNG and the applet works only with gif and jpeg.
Is there a way to use rosa applet in this configuration ? How can I get jpeg output from mapserver ?

thank you
max 





More information about the mapserver-users mailing list