4 ms·
As is unfortunately typical for tutorials like this, the best and most effective PNG compressors like oxipng or ECT [1] are strangely left off. I compressed th
by bscphil 4y ago
As is unfortunately typical for tutorials like this, the best and most effective PNG compressors like oxipng or ECT [1] are strangely left off.
I compressed the original PNG shown on the site with ECT. It took only 6.5 seconds on my old laptop, and resulted in a file 95.7% of the size of their pngcrush result. I don't see why you'd want to leave 4-5% more efficiency on the table in a case like this.
Similarly, I reproduced their pngcrush result on the same laptop. It took 10.834 seconds. Getting a better result doesn't even take more time!
Commands:
ect --strict -9
pngcrush -brute
[1] https://github.com/fhanau/Efficient-Compression-Tool https://github.com/fhanau/Efficient-Compression-Tool
- dontbenebby 4y agoThanks for dropping a citation, when the CPU cost is low and the code is on Github it's relatively easy to add a tool or two to a script if you're benchmarking. (IMHO) But speaking as a paranoid hacker: why is it more common to run unknown code in the graphics world than others? |I've noticed a lot of trust in that community, versus the felonious infosec mantra of "oh, you typed something from the internet into the terminal without understanding it? Of course someone stole everything on your hard drive, why didn't you've have seven layers of veracrypt volume around your diary or whatever?" mentality. I don't know a ton about image visualization, but I'm super appreciative of tools like GIMP and VLC that save me time and money in a variety of ways. (Remember back when downloading a keygen meant risking a trojan? Or is that something the next generation of hackers has only heard about in stories? :-) )
- jart 4y agoTheir Windows binary comes up clean on VirusTotal. Running on Linux under strace is squeaky clean. There should be a rule against fud like this from anons because open source is built on trust and without trust open source couldn't exist. Worst case scenario I imagine is you forget to use --strict when compressing your manga collection and since it's pre-1.0 you get an artifact here and there.
- dontbenebby 4y ago>Their Windows binary comes up clean on VirusTotal. Running on Linux under strace is squeaky clean. There should be a rule against fud like this from anons I'm not anonymous. Someone very purposefully tied my legal name to this nym when I signed the anti-Stallman petition. I've had two accounts (Reddit, and Twitter) shut down very purposefully as retaliation for reporting extremely serious felonies. There should be a rule that if I can prove someone's abusive gaslighting causes me to overshare, the person who purposefully distorted the truth is responsible for anything I purchase to return to a positive emotional state. I am one of the strongest allies of open source on the planet. It's not my fault if folks who use it for evil have conspired against me, then literally shot themselves when they realized I'll just go back to pounding espresso and posting twice as hard within less than 24 hours of their soul exiting their body. Folks from the so called "free speech" community cannot handle truly free expression, they just want to hear their own talking points repeated.
- dubswithus 4y agoSomeone shot themselves over a png compressor? Gotta get outside more.
- im3w1l 4y agoIt sounds like those events greatly affected you, because you are losing your composure retelling them. Maybe you should get some professional help processing it all.
- dontbenebby 4y agoNah, I'm not going to pay someone any longer when the main issue is lack of income. I'd be offline if I had something to keep me busy. Want code samples and a CV?
- im3w1l 4y agoThis is going a huge tangent, but... I don't much believe in antivirus, as crooks can often find ways around them. Traditionally, trust is based on knowing someones name and place of residence so you can call the cops on them and/or take matters in your own hands if they try any funny business. For anonymous people, an established reputation can also work. In this case the repository is 7 years old. The owner states a full name (that if we are paranoid may or may not be the real one). A person with that name has published a scientific article about compression.
- bradknowles 4y agoSo, why not do a larger set of comparisons? See http://www.olegkikin.com/png_optimizers/ http://www.olegkikin.com/png_optimizers/ And then maybe also compare with some websites, such as done at https://www.marketpath.com/blog/a-tactical-comparison-of-seven-image-compression-tools-in-2020 https://www.marketpath.com/blog/a-tactical-comparison-of-sev...