Lode Vandevenne

Results 53 comments of Lode Vandevenne

Hi, The PNG file format itself supports this (see *), but the LodePNG encoder and decoder don't support streaming, LodePNG requires full data available. Adding support for this will require...

Thanks for the suggestion This is out of scope for lodepng, since it's not part of standard PNG. However, it may be possible to use lodepng to handle most standard...

It is not directly supported. However, there are some helper functions that allow using it. It could be done as follows: 1. decode the image as normal and have the...

I would prefer to not have it in LodePNG, I would like to keep the library focused on one thing, the pure PNG spec. But it could be implemented as...

Hi, The error checking for this was removed at some point for performance reasons (not doing one more check per pixel), taking the red channel automatically works correctly if the...

Hey, the case where the color is encoded RGB, but all three channels are equal (so, grayscale encoded in a less optimal way, it can occur sometimes), should be allowed,...

Yeah, I'll improve something about it to avoid the trap, keeping this bug open, to improve with better documentation or an efficient form of error checking or both

Hi, 4x slower is not expected, however it could also depend on settings: For compiler settings: do you compile with optimizations enabled, such as with the -O2 or -O3 flag?...

Thanks for testing! Which platform are you using? When I run the fpng_test benchmark, I get: ``` SSE 4.1 supported: 1 Filename: test.png Dimensions: 2560x1440, Has Alpha: 0, Total Pixels:...

I would actually expect your CPU to do faster on all codecs (I'd even expect 10x faster for decoding/encoding for most of them) here, I'm not sure what could be...