3 ms·
Photoshop: 6 705 bytes, 128 colors, 1-bit alpha only TinyPNG: 6 179 bytes, 92 colors Optimage: 5 761 bytes, 154 colors TinyPNG + Optimage (lossless): 5 22
by vladdanilov 9y ago
Photoshop: 6 705 bytes, 128 colors, 1-bit alpha only
TinyPNG: 6 179 bytes, 92 colors
Optimage: 5 761 bytes, 154 colors
TinyPNG + Optimage (lossless): 5 226 bytes, 92 colors
https://imgur.com/a/X9DnJ https://imgur.com/a/X9DnJ
TinyPNG tends to use fewer colors. But its compressor is pretty suboptimal. I could reduce the image further by 15.4% with the tool I'm making (http://getoptimage.com http://getoptimage.com).
- majewsky 9y ago> 92 colors I see 3 colors (blue, white, transparent).
- vladdanilov 9y agoThe rest are needed to keep anti-aliased shapes smooth.
- mrb 9y ago3545 bytes: https://i.imgur.com/dHIaRh1.png https://i.imgur.com/dHIaRh1.png Used Gimp to convert to 4-bit paletted colormap, and processed through optipng. The original PNG icon was very clearly suboptimal at 20 225 bytes...
- ricardobeat 9y agoImgur converts everything both of you posted to JPEG...
- icebraining 9y agoWhat do you mean? It's serving me a PNG image.
- mkl 9y agoAre you sure? Zooming in here I see JPEG artifacts. Imgur also often lies about the image format in the URL.
- CapacitorSet 9y agoImageMagick's `identify` claims it's a PNG: $ curl -OL https://i.imgur.com/dHIaRh1.png $ identify dHIaRh1.png dHIaRh1.png PNG 512x512 512x512+0+0 8-bit sRGB 3545B 0.000u 0:00.000
- mkl 9y agoYes, I can reproduce that. I get served different versions depending on device/browser, and on my phone I got a 7883 byte JPEG!
- vladdanilov 9y agoIt appears to have the same problem as Photoshop where indexed images can only have 1-bit transparency. You can also losslessly compress it down to 2 803 bytes: https://imgur.com/a/SunI7 https://imgur.com/a/SunI7.