[Geoserver-users] PNG renderer problems

Hi guys,

As some of you know, I’m putting together some pseudo-“benchmarks” for various WMS applications. One of the sections I have completed was the image output comparison for the standard GIF and PNG renderers. In short, Geoserver was terrible (see below for a sample). I was holding out til the 1.3.1beta just to see if the new geotools merge fixed this problem but it doesn’t appear that it did.

image size (bytes) for PNG output for identical areas and layers.

Mapserver 4.4.2 33934

Mapserver 4.6 33817

Mapserver 4.8 33817

Mapguide 260947

Geoserver 1.2.4 36597

Geoserver 1.3.0 164992

Geoserver 1.3.1b 165393

Settings: Geoserver antialiasing OFF

I’m a bit cautious posting a new bug just in case I have missed something obvious … have I? Things seem to have gone down hill in terms of file size since JAI was binned after 1.2.4.

If this is a known issue, is there anyway I can configure the output quality settings? Sure Geoserver PNG output looks nice, but its not worth a 165kb 500x500px image … if there was a way to find some middle ground between the small file size of 1.2.4 but with some rendering improvements … I’d be a very happy man

FYI, the same request using GS1.3.1b (GIF) produces a 64179 byte image which is much more acceptable.

Chris.

This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.


PLEASE NOTE: All dola.wa.gov.au and vgo.wa.gov.au email addresses have been decommissioned. These have been replaced by dli.wa.gov.au addresses. Please ensure that your records are updated to reflect this change. Further information can be obtained by contacting our service desk on 92737533 or emailing Servicedesk@anonymised.com


The "Antialias" option turn on/off SVG (not image) anti-aliasing - so you are comparing non-anti-aliased to anti-aliased images.

There's a bug report to add "turning on/off anti-aliasing", but it hasnt been fixed yet. If you just want to give it a try, you can turn it off in "DefaultRasterMapProducer.java".

Are the PNG's you are comparing it to full 32-bit PNGs?

I, too, looked at the file sizes, but bringing them into a paint program and re-saving them didnt result in a appreciable change in filesize.

The GIF image is only 8bits, so thats probably the reason that its smaller.

dave

Chris Tweedie wrote:

Hi guys,

As some of you know, I'm putting together some pseudo-"benchmarks" for
various WMS applications. One of the sections I have completed was the
image output comparison for the standard GIF and PNG renderers. In
short, Geoserver was terrible (see below for a sample). I was holding
out til the 1.3.1beta just to see if the new geotools merge fixed this
problem but it doesn't appear that it did.

image size (bytes) for PNG output for identical areas and layers.

Mapserver 4.4.2 33934

Mapserver 4.6 33817

Mapserver 4.8 33817

Mapguide 260947

Geoserver 1.2.4 36597

Geoserver 1.3.0 164992

Geoserver 1.3.1b 165393

Settings: Geoserver antialiasing OFF

I'm a bit cautious posting a new bug just in case I have missed
something obvious ... have I? Things seem to have gone down hill in
terms of file size since JAI was binned after 1.2.4.

If this is a known issue, is there anyway I can configure the output
quality settings? Sure Geoserver PNG output looks nice, but its not
worth a 165kb 500x500px image ... if there was a way to find some middle
ground between the small file size of 1.2.4 but with some rendering
improvements ... I'd be a very happy man

FYI, the same request using GS1.3.1b (GIF) produces a 64179 byte image
which is much more acceptable.

Chris.

This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.

**********************

PLEASE NOTE: All dola.wa.gov.au and vgo.wa.gov.au email addresses have been decommissioned. These have been replaced by dli.wa.gov.au addresses. Please ensure that your records are updated to reflect this change. Further information can be obtained by contacting our service desk on 92737533 or emailing Servicedesk@anonymised.com

**********************