Skip to main content

We have merged Ascii grid and then classified the Raster using “RasterExpressionEvaluator” the Interpretation is set to UINT8

 


The color values have been assigned defining the interpretation of the palette as RGB24 using an AttributeCreator and then adding the color values to the RasterPaletteAdder.

 

 

 

Export in Geotif format is possible. The Tif is transparent between the classified raster cells via the Nodata value.

For performance reasons, we want to use a jpeg2000 and control the transparency via an alpha band as the jpeg2000 format does not support nodata values.

How can we export the classified raster image in jpeg2000 with an alpha band?

Thank you very much for your help in advance.

Hi ​@sgsolingen,

Thank you for the post and reaching out!

Here are some quick articles/documents that may assist you in finding an answer!
Two transformers that come to mind when working with alpha bands would be - RasterBandNodataSetter & RasterBandAdder.

Let me know if you have any more issues and I’ll be happy to help.
Donal.


Thank you very much that was helpful. The transformer worked and I was able to add the alpha band. 


Reply