Closed raaaaaymond closed 3 years ago
Are you using CImg with the libpng
enabled, or just the ImageMagick fallback ?
The latter case is probably really slow.
In case you have indeed enabled libpng
when compiling your program with CImg (defining #cimg_use_png
), it should be not that slow.
Yep it was my fault for not using libpng. Thank you!
Hello! I just noticed that saving images (PNG)s is extremely slow, like several seconds per frame. Am I doing something wrong? Using the wrong libpng or something? I'm on Windows by the way, Visual Studio 2019. I've double-checked that I'm on a release build. Very simple code snippet:
Just use any MP4 video you have, and you'll notice that it takes several seconds to save each frame. Am I doing something stupid?