I have an 8-bit raster image (jp2) which I need to convert to ecw format. A fatal error occurred and the message was "ECW writer: This format does not support writing the RGB/RGBA bands in the raster with other extra bands. Please remove the extra bands and try again". How can I fix it?
Page 1 / 1
Hi @ilmachairas,
Here is an article to get you started: How to Convert GeoTIFF to ECW
It goes into detail about how to change band types and how to add/remove specific bands specifically for converting to ECW.
The main transformers you would use in this situation would be the:
- RasterBandInterpretationCoercer - to convert band types
- RasterSelector - to select which bands you want to change
- RasterBandRemover - removes bands selected by the RasterSelector
Hopefully that helps,
-Liz