On Tuesday, 5 March 2019 at 01:43:42 UTC, solidstate1991 wrote:
https://github.com/ZILtoid1991/dimage/blob/master/source/dimage/png.dIt seems that after a certain point, it doesn't add more data to the compression stream, flushing doesn't help.
What do you mean by "doesn't add"?ubyte[] slice = pos < imageData.length ? imageData[pos..(pos + pitch)] : imageData[pos..$];
This can't possibly work. You slice past the end of array.