ondrej-kvet

Results 4 comments of ondrej-kvet

It did work, but in previous version you have to replace this line: ```python raw_data_bytes = numpy.frombuffer(raw_data, dtype=numpy.uint16) ``` to ```python raw_data_bytes = numpy.frombuffer(raw_data, dtype=numpy.int32) ``` I am checking the...

> Even with the modification you mentioned in your last comment, your script will still print 0 as the pixel value at the end. You are correct. Sorry. This assert...

Looking at the [table](https://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html) you posted. PNG also doesn't support 32bit grayscale images. PIL saves them but the data also doesn't seem to be saved properly... This should raise an...

Perhaps in your mind these two situations are the same, but I have a different mental model, so I wanted to make this clear. In my example I create int16...