2 ms·
The 9MB PNG is unoptimized. By passing it through optipng and advdef I managed to losslessly squish it down to 7MB. Also, I would be remiss if I did not point
by LeoPanthera 9y ago
The 9MB PNG is unoptimized. By passing it through optipng and advdef I managed to losslessly squish it down to 7MB.
Also, I would be remiss if I did not point out that this:
cat ping.txt | pcregrep -o1 ': (\d+\.\d+\.\d+\.\d+)'
is a Useless Use Of Cat.[1]
It should be rewritten:
pcregrep -o1 ': (\d+\.\d+\.\d+\.\d+)' <ping.txt
[1] http://porkmail.org/era/unix/award.html http://porkmail.org/era/unix/award.html
- syrrim 9y ago>I managed to squish it down to 7 MB wow, what a stellar compression ratio >Useless Use Of Cat Oh My God No One Cares
- contoraria 9y agoyou cared enough to respond, syrrim
- LeoPanthera 9y ago> wow, what a stellar compression ratio It's pretty good when compared to uncompressed RGB of the same size, which would be 48M.