Opened 15 years ago

Closed 13 years ago

#3176 closed defect (fixed)

FORMATOPTION "TRANSPARENT=ON" does not work

Reported by: greenwood Owned by: jmckenna
Priority: normal Milestone:
Component: Documentation - MapServer Version: 5.0
Severity: normal Keywords: OUTPUTFORMAT FORMATOPTION TRANSPARENT
Cc: woodbri@…, warmerdam, havatv

Description

Not sure if this is considered a documentation issue or a functionality issue.

In both the documentation and in map file warnings it says that placing

TRANSPARENT ON

in the MAP section of the map file is deprecated and advises placing

FORMATOPTION "TRANSPARENT=ON"

in an OUTPUTFORMAT block.

However this does not seem to work. I've tested on 5.0 and 5.4.

What does work is putting

TRANSPARENT ON

in an OUTPUTFORMAT block.

Thanks, Rich

Attachments (1)

transparent.zip (19.9 KB ) - added by greenwood 15 years ago.
Please see the README.TXT in the zip file

Download all attachments as: .zip

Change History (4)

comment:1 by warmerdam, 15 years ago

Cc: warmerdam added

Rich,

Can you provide more detail on how to reproduce this? Mapfile, data, request, how to check transparency in the resulting file.

by greenwood, 15 years ago

Attachment: transparent.zip added

Please see the README.TXT in the zip file

comment:2 by greenwood, 15 years ago

Okay, I've attached the file "transparent.zip" which contains a README.TXT with a more detailed explanation of the problem, and a sample map file, template file, and shape files.

Thanks, Rich

comment:3 by havatv, 13 years ago

Cc: havatv added
Resolution: fixed
Status: newclosed

Assuming that the above is correct, it has been fixed in trunk and 6.0 docs in r12081. I updated the MAP document (imagecolor and transparent).

Note: See TracTickets for help on using tickets.