raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.03k stars 2.76k forks source link

[SIPS] WEBP conversion makes files bigger that PNG or JPEG #13273

Open humandman opened 6 days ago

humandman commented 6 days ago

Extension

https://www.raycast.com/HelloImSteven/sips

Raycast Version

1.69.0

macOS Version

No response

Description

For about some time webp image conversion makes file way bigger from the original PNG or JPEG. In the past months I've used the extension and worked like a charm in converting images, and usually the webp format became 1/10 of the original size, now from a 850kb jpeg image give a 1MB Webp image.

Steps To Reproduce

  1. Take a common jspeg file
  2. Converto to WEBP format
  3. Compare sizes, it's always bigger from the original

Current Behaviour

No response

Expected Behaviour

The Webp format weight way less than the original file.

raycastbot commented 6 days ago

Thank you for opening this issue!

🔔 @SKaplanOfficial @arronhunt @nakaakist @JUSTIVE @patomos you might want to have a look.

💡 Author and Contributors commands The author and contributors of `HelloImSteven/sips` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
JUSTIVE commented 5 days ago

The former PR #12957 might be related to this. I thought lossless as default would prevent users from unexpected image quality degradation, but I didn't consider file size. Adding a lossless option as Image-Modification's option would be great for all.

humandman commented 4 days ago

Hi @JUSTIVE, yeah option for lossless or quality option would be ideal!