Skip to main content

Hi,

i need some help to read and write PNG File with GRAY8 band.

if i use the normal PNG Reader then i got a fully black image.

i experiment a little bit with the raster and rasterband transformers, so that i got a nearly good solution, but not the same as i open the file with paint.

in attachment there are 2 example files and my current experiment bench.

can someone help?

Take a look at the RasterBandInterpretationCoercer, the destination Interpretation Type depends on what you are doing with the data, scale by data values

 


it could be so simple :-)

thankyou


Reply