REDDIT 原始帖子

PNG -> webp

Do you know of an app that converts PNG files to the WebP format? It should allow you to select multiple files and then convert all the selected ones.

原帖正文r/macapps

Do you know of an app that converts PNG files to the WebP format? It should allow you to select multiple files and then convert all the selected ones.

已收录讨论

22 条评论

u/macnatic0

For your specific case, I believe Picmal would be an excellent choice. Plus, it’s currently on sale for $5.00 on BundleHunt.

u/claycle

The slickest conversion app for my money right now is Consul. Simply by changing the file extension of your file(s), it knows how to convert them for you. It's one of those "how did nobody think of this before" kind of apps. https://getconsul.app Now, I'll also be "that guy". For the years, I have used a simple script to do this with ffmpeg or cwebp (command line). Then I just wrapped the script into a Finder Quick Action, and "it just works". It took 5 minutes to tinkering (not counting the 5 minutes install brew [which I did when I first got my Mac] and executing brew install ...)... Here is the script you can enter into Apple Automator. This version uses cwebp, but you could toggle it back to using ffmpeg. Open Automator. Create a new Quick Action. Drop in "Run Shell Script" from the Library. Toggle the workflow to operation on "image files" in "Finder". Paste this script in: #! /bin/zsh CWEBP="/opt/homebrew/bin/cwebp" RESULT="" for file in $*; do basename="${file%%.*}" ofile="$basename.webp" # echo "Convert $file => $ofile" ${CWEBP} -quiet -q 85 "$file" -o "$ofile" # ffmpeg -hide_banner -loglevel error -nostats -i "$file" -c:v libwebp -qscale 85 "$ofile" RESULT="$RESULT $ofile" done if [ -n "$RESULT" ]; then # echo WEBP:$RESULT created. echo "✓ Done: $ofile" fi Enjoy.

u/german_sw_developerOP

Thank you very much for this code. I like it, its simple, but do all what i want.

u/german_sw_developerOP

Thanks for the tip!

u/macnatic0

Well, recommending the right tool really depends on your specific workflow and how you prefer to handle image conversion. For image conversion by renaming the file extension, check Consul or Morpholder. If you prefer a more traditional app with advanced configuartion options, Pimosa or Permute are solid options. For CLI workflows, try ImageMagick. For batch image conversion, I suggest Image Stack or Picmal. And if you want automatic processing of images saved to folders or your clipboard, get Clop. All named tools support PNG → WebP conversion. The majority of these tools actually use ImageMagick under the hood for file conversion.

u/german_sw_developerOP

Surprise: I've just built a little app that's actually really handy, it converts from X different source formats to webp, heic, jpg, tiff or png. It can also adjust the resolution if you want, remove the alpha channel if you want, and let you specify the DPI setting. The app will be called BlibBlob; it’s currently under review by Apple and will soon be available for you to download for free from the App Store. There are no additional fees, the app is free.

u/german_sw_developerOP

thanks for the tip

u/ToughAsparagus1805

Pixelmator has automator plugin. You can make quick action using automator and it will become available on right click.

u/advait_vaidya

You can try this one. It has good reviews - https://howtoconvert.co/

u/Albertkinng

Get Consul. Best converter app hands down.

u/shadowsyntax43

100% free & open source https://compresso.codeforreal.com/

u/karatsidhus

Clop https://lowtechguys.com/clop/

u/givebest

Image2WebP: https://hp60.com/image2webp/

u/RihardsVLV

If you're using Raycast then there's wonderful and free extension. https://www.raycast.com/HelloImSteven/sips

u/ObfuscationSoftware

Once you've done the conversion with any of the tools above, don't forget to run them through https://imageoptim.com/ for a final cleanup and optimisation.

u/Mstormer

I do this in Alfred with a workflow I created.

u/LessSection

Just yesterday I used the command line with these instructions. https://osxdaily.com/2024/01/31/how-convert-images-webp-mac-command-line/

u/metamatic

GraphicConverter not mentioned yet?

u/minnibur

There's this one too: https://apps.apple.com/us/app/right-hook-image-converter/id6740552257

u/DuskDreamer27

Convertible supports batch conversion and PNG -> WebP formats https://apps.apple.com/app/convertible-file-converter/id6762157665

u/miklosp

https://imagemagick.org/webp/ if you’re happy with CL If you want GUI, here’s a freeware: https://www.xnview.com/en/xnconvert/