Opened 16 years ago

Closed 13 years ago

#2596 closed defect (wontfix)

Ability to specifiy format output for raster output

Reported by: assefa Owned by: assefa
Priority: normal Milestone:
Component: Output-PDF Version: unspecified
Severity: normal Keywords:
Cc: bfraser, kthy, springmeyer

Description

Initial e-mail discussion from bfraser@…

Back in 2005 I challenged one of our new engineers to create a 34 inch by 44 inch PDF map (with a graticule!) of a satellite image using Mapserver (v4.6). There were several problems, the most serious in mappdf.c which uses an 8-bit GD library image format restricting the images inserted into the PDF to 8 bit only (although just prior to insertion they're converted to JPEG, a 24-bit format!).

One of the other problems was memory usage. Mapserver creates two or three copies of the image when rendering it to PDF (and at 300 dpi an RGB image of that size can be 500 mb). But if your format is smaller than 34 x 44, it may not be a problem.

Attachments (1)

mappdf.zip (84.1 KB ) - added by bfraser 15 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by bfraser, 16 years ago

Cc: bfraser added

comment:2 by kthy, 16 years ago

Cc: kthy added

comment:3 by springmeyer, 16 years ago

Cc: springmeyer added

by bfraser, 15 years ago

Attachment: mappdf.zip added

comment:5 by bfraser, 15 years ago

Component: MapServer C LibraryOutput-PDF
Owner: changed from sdlime to assefa

comment:6 by assefa, 13 years ago

Resolution: wontfix
Status: newclosed

This is not an issue any more. MapServer 6.0 used Cairo for PDF output.

Note: See TracTickets for help on using tickets.