https://www.tecmint.com/convert-images- ... -in-linux/
One of the numerous best practices you will hear of, for optimizing your web-site performance is using compressed images. In this article, we will share with you a new image format called webp for creating compressed and quality images for the web.
WebP is a relatively new, open source image format that offers exceptional lossless and lossy compression for images on the web, designed by Google. To use it, you need to download pre-compiled utilities for Linux, Windows and Mac OS X.
First, look for webp in standard repositories (apt install webp...) or in PPM.
Use this command if webp is not in standard repositories : $ wget -c https://storage.googleapis.com/download ... -32.tar.gz
And follow instructions, clicking the link above.
Further reading about HEIF format (High Efficiency Image Format) :
https://www.gimp.org/news/2018/05/20/gi ... -released/
https://news.ycombinator.com/item?id=17125728
How to Convert Images to WebP Format in Linux & HEIF format
How to Convert Images to WebP Format in Linux & HEIF format
Last edited by labbe5 on Tue 22 May 2018, 20:01, edited 1 time in total.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
I use the (somewhat older) precompiled libwebp-0.4.1-linux-x86-32 from Google's https://storage.googleapis.com/download ... index.html
WebP is a good choice for document archiving as is produces very small files. Much better than JPG.
Tools used for screenshot:
PNG => JPG: mtpaint "Save As JPEG" quallity 0
PNG => WebP: cwebp -q 0 file.png -o file.webp
WebP is a good choice for document archiving as is produces very small files. Much better than JPG.
Tools used for screenshot:
PNG => JPG: mtpaint "Save As JPEG" quallity 0
PNG => WebP: cwebp -q 0 file.png -o file.webp
- Attachments
-
- format_comparison.jpg
- (131.06 KiB) Downloaded 317 times
With all due respect, MochiMoppei,
why would a user wish to save a picture with a quality ratio of zero (0)?
Or perhaps you are using this 0 quality picture only as a comparative argument?
In other words, you are saying that for the same picture, from a png format in "100"
quality to a webp format at "0" quality, there is a space savings of 90 %.
If I may, the reduction in quality is ok for some drawings and some text-as-picture,
but not if one values the artistic value of a photograph. (Please see attached.)
TIA.
why would a user wish to save a picture with a quality ratio of zero (0)?
Or perhaps you are using this 0 quality picture only as a comparative argument?
In other words, you are saying that for the same picture, from a png format in "100"
quality to a webp format at "0" quality, there is a space savings of 90 %.
If I may, the reduction in quality is ok for some drawings and some text-as-picture,
but not if one values the artistic value of a photograph. (Please see attached.)
TIA.
- Attachments
-
- clem-onojeghuo-111360-799x532-0quality.jpg
- The original photograph (5616x3744 pixels) by clem onojeghuo can be found at
unsplash.com under number 111360. - (8.5 KiB) Downloaded 299 times
-
- clem-onojeghuo-111360-799x532-98quality.jpg
- This one at 98 quality. At 100 quality, it is too big to be accepted by the forum.
- (221.33 KiB) Downloaded 300 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
Yesgreengeek wrote:In this instance - isn't file size the important determinant rather than image % quality?
NoIs it proprietary
Yesor freely useable??