Hi,
I'm using the Java API and I want to display a geoTIFF which I generate with an alpha-channel. I load the geoTIFF file as a RasterSource, reproject it and display the result as an RasterLayer. Thus far everything is fine, except of the fact, that the alpha channel is ignored. Is there some paramter I have to activate or something?
Thanks in advance!
Can you provide your sample code snippet of what your are trying to do?
Dear Mathias,
Alpha channel has mainly to do with transparency.
one bit files, and some other unusual formulations of GeoTIFF file, such as YCbCr color model files, are automatically translated into RGBA (red, green, blue, alpha) form, and treated as four eight bit bands.
And when you are re projecting it the format and the compression you are selecting may not be supporting the alpha band so can you kindly check this also.