Hi,

I have tried to use the CoverageCrop processor at an png image with a color
table. I haven't specified a destnodata parameter, and from looking at the
code I see that it will be set to 0,0,0.
I want to mask the image with a multipolygon geometry. In the resulting
image, and the original, there is no color black. And the areas outside the
given ROI has instead a blue color. A color that is part of the original
color table.
Is it a bug in this processor that doesn't extend the color table of the
resulting image with the black color?

To get a transparent background I suppose I should make sure that the
Source coverage is of the type ARGB, and that I specify a color for
destnodata parameter. Is this the right approach. Could this be part of the
documentation for the processor?

Cheers,
Roar Brænden
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to