4 ms·
It's a neat idea, but wouldn't work for any image format that's actually used. The code targets PPM, which is an ASCII-based image format. In a binary format li
by necubi 16y ago
It's a neat idea, but wouldn't work for any image format that's actually used. The code targets PPM, which is an ASCII-based image format. In a binary format like JPG or PNG, different values of zero would be indistinguishable.