Skip to main content
Question

PNG Reader Problems

  • September 25, 2019
  • 2 replies
  • 33 views

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • September 25, 2019

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