Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-02-23 06:05:44

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Tools to convert images to .webp or .avif ?

At the moment I have given XNconvert a try (a bit of an odd and ugly duckling, but works reasonably well), other people seem to use Squoosh. Recently I tried WebPonize but that is either broken or fails miserably. Are there any other suggestions, preferably not online tools ?

(and not electron based. ça va de soi)

TY.

(edit to correct the thread’s title aviv avif)

Last edited by phiw13 (2021-02-23 08:35:29)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#2 2021-02-23 07:36:59

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 310
Website GitHub GitLab Mastodon Twitter

Re: Tools to convert images to .webp or .avif ?

For Windows, I am using the light yet very powerful IrfanVew with RIOT dll plugin (File: Save for Web instead of Save As). Sometimes also FileOptimizer is useful for many other file formats.

Last edited by Vienuolis (2021-02-23 08:07:25)

Offline

#3 2021-02-23 08:22:37

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Tools to convert images to .webp or .avif ?

I’m fairly confident the venerable Graphic Converter for macOS will support AVIF in the near future. Already supports WebP (even supports animated WebP, which I didn’t even know was a thing).

Offline

#4 2021-02-23 08:34:10

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: Tools to convert images to .webp or .avif ?

Seeing Vienuolis mention Irfanview, I thought of Graphic Converter too. Downloading it now to check out WebP support. Avif, being basically the same as HEIC should probably be relatively easy to add.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#5 2021-02-24 00:36:20

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: Tools to convert images to .webp or .avif ?

For converting to the Avif format, Kornelsky has written a CLI utility: cavif. Available for Linux/macOS/Windows platforms. I have not yet tested it, though.

Graphic Converter does a good job (AFAICT) at converting an image, with good speed. A big plus point is good AppleScript support, so I could plausibly easily convert the scripts I use with Acorn to use with GC.
(cons, GC is a little pricey ~€34.95 / ¥4.900-)

I also noticed that XnCovert is available via the Mac App Store (there are may webp converters in the App Store, quality unknown).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#6 2021-02-26 00:51:28

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: Tools to convert images to .webp or .avif ?

phiw13 wrote #329041:

For converting to the Avif format, Kornelsky has written a CLI utility: cavif. Available for Linux/macOS/Windows platforms. I have not yet tested it, though.

That Cavif-rs utility does a decent job, AFAICT. On macOS it takes all OS supported formats as input (lossless ones !: TIFF, .heic). The results (given similar settings) are similar to images converted with Squoosh. Batch converting 12 600×900px TIFF images took about 3 minutes.

–^–

PS. Squoosh has a command-line utility as well (npm based workflow).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB