Opened 13 years ago

Closed 13 years ago

#3841 closed enhancement (fixed)

allow configurable PNG/ZLIB compression levels

Reported by: tbonfort Owned by: jmckenna
Priority: normal Milestone: 6.0 release
Component: Documentation - MapServer Version: svn-trunk (development)
Severity: normal Keywords:
Cc: dmorissette, frankw

Description

add an outputformat FORMATOPTION that acts on the ZLIB compression used for PNG output

Change History (2)

comment:1 by tbonfort, 13 years ago

Component: Renderer APIMapServer Documentation
Owner: changed from tbonfort to jmckenna

committed in r11577.

the behavior is triggered with

FORMATOPTION "COMPRESSION=xxx"

where the valid values for "xxx" are integers from -1 to 9 inclusive.

  • -1 is default compression
  • 0 is NO compression, should usually be avoided
  • 1 is fast compression: better computation time at the expense of slightly larger files
  • 9 is best compression: slightly better file sizes, at the expense of large computation time

YMMV

comment:2 by tbonfort, 13 years ago

Resolution: fixed
Status: newclosed

doc committed in r11578

Note: See TracTickets for help on using tickets.