Z
Z
ZaxapKramer2016-10-24 09:26:26
Images
ZaxapKramer, 2016-10-24 09:26:26

PNG optimization (virtually) lossless for the web, what to use?

Hello.
Can you please suggest what is the best way to use today to compress/optimize PNG images with near lossless?
Always used the TinyPNG online service until I found a catastrophic reduction in image quality, nothing else gives a sufficient result.
I found articles on Habré, but they are from 2011-2013 (maybe outdated), so I'm at a loss. I've never given such attention to graphic compression on a site before (because I probably didn't use large backgrounds, etc.).

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
coderisimo, 2016-10-24
@ZaxapKramer

Photoshop has a save for web feature. In it you can see several options at once. Moreover, by changing the compression ratio, you see the result. You can also batch compress. Another moment. In some cases, oddly enough, jpeg looks better and weighs less (if there are many color shades in the picture).

_
_ _, 2016-10-24
@AMar4enko

https://github.com/imagemin/imagemin
PNG specific:
https://en.wikipedia.org/wiki/Pngcrush , plugin imagemin-pngcrush, loseless
https://en.wikipedia.org/wiki/Pngcrush , plugin imagemin-pngquant, lossy, quality adjustable, of course

A
Artem Gribkov, 2016-10-24
@L1Qu0R

Grunt + plugin?
https://github.com/gruntjs/grunt-contrib-imagemin

S
Stepan Krapivin, 2016-10-25
@xevin

There are at least two console programs for *nix: optipng and pngquant . I
use them both for manual and automatic (in the site code) optimization.
Similarly, for JPEG there are jpegoptim and mozjpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question