Is there a way to convert all files in a directory at once? Sorry if I'm missing something simple.
Thanks for the tips. If I use either the mogrify command or the webp command in a Windows shell, how do I ensure that the right settings are used during the conversion? At
the moment, I’m use the following command to convert. Doing this individually for each file is very tedious!
cwebp C:\Users\webimages\Connector_VP5.png -q 100 -lossless -o Connector_VP5.webp
Would something like this work?
mogrify -format webp
-q 100 -lossless -o /path/to/folder/*
Windows shell:
> for /R . %I in (*.jpg) do ( cwebp.exe %I -q 100 -lossless -o %~fnI.webp )
--
You received this message because you are subscribed to a topic in the Google Groups "WebP Discussion" group.
To unsubscribe from this topic, visit
https://groups.google.com/a/webmproject.org/d/topic/webp-discuss/GDe1QBcSivA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
webp-discuss...@webmproject.org.
To view this discussion visit
https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/CABWgkX%2BDLW4wtjt6meM274KAkX7AgCh5X69m%3D_fpmBacByzJBA%40mail.gmail.com.
Thanks for the tips. If I use either the mogrify command or the webp command in a Windows shell, how do I ensure that the right settings are used during the conversion? At the moment, I’m use the following command to convert. Doing this individually for each file is very tedious!
cwebp C:\Users\webimages\Connector_VP5.png -q 100 -lossless -o Connector_VP5.webp
Would something like this work?
mogrify -format webp -q 100 -lossless -o /path/to/folder/*
Windows shell:
> for /R . %I in (*.jpg) do ( cwebp.exe %I -q 100 -lossless -o %~fnI.webp )
James, thanks! It worked!
From: 'James Zern' via WebP Discussion <webp-d...@webmproject.org>
Sent: Friday, December 20, 2024 2:01 PM
To: webp-d...@webmproject.org
Subject: Re: [EXTERNAL] Re: Bulk conversions?
You don't often get email from webp-d...@webmproject.org. Learn why this is important |
--
You received this message because you are subscribed to a topic in the Google Groups "WebP Discussion" group.
To unsubscribe from this topic, visit
https://groups.google.com/a/webmproject.org/d/topic/webp-discuss/GDe1QBcSivA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
webp-discuss...@webmproject.org.
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To view this discussion visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/SA6PR00MB23285AE1C674B53E90B402AD82002%40SA6PR00MB2328.namprd00.prod.outlook.com.