Opened 16 years ago
Closed 16 years ago
#2602 closed defect (fixed)
Background color is incorrect with Transparent PNG and AGG output
Reported by: | assefa | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | AGG | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | warmerdam |
Description
I came across this issue when using a wms client layer in mapserver with the output format set to AGG. The wms client layer returns a transparent PNG. The problem I am seeing is that the final output was a black background (instead of being transparent)
After looking in what was happening, I found that this problem was occurring when the rendering was passing through the msResampleGDALToMap instead of msDrawRasterLayerGDAL.
I have attached a simple map file/data that shows the problem.
Note that the same setting with an output format set to use GD did not have a problem.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | agg_gd_getlegend.zip added |
---|
comment:1 by , 16 years ago
Cc: | added |
---|---|
Summary: | Background color is incorrdct with Transparent PNG and AGG output → Background color is incorrect with Transparent PNG and AGG output |
Not sure if I should have logged it in the AGG or GDAL support.
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
test data showing the issue