4 ms·
Darn, I had a handful of NumPy arrays which could use a fast encoder.
by 1-6 6y ago
Darn, I had a handful of NumPy arrays which could use a fast encoder.
- xyzzy_plugh 6y agoBut I'm sure there are plenty of fast encoders? Wuffs isn't the path to a fast encoder. It's a path to something safe that is also pretty fast. If you're encoding PNGs from NumPY arrays you don't care at all about safety. If, for some reason I can't quite comprehend, whatever encoder you have on hand isn't fast enough, you can just disable compression optimizations -- but at that point you may as well be writing out a bitmap.