mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
[GH-ISSUE #547] Support for -m and -mt flags with Cwebp #201
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vikobeibe on GitHub (Nov 30, 2024).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/547
Originally assigned to: @sadok-f on GitHub.
Flyimg seems to use Cwebp which offers the
-mtflag for multithreading, and the-mflag with values ranging0to6for making tradeoffs between speed and file size. I have found that combining the two with a reasonable-qualitysetting could speed up encodes up to 2.5x times in my testing setup when compared to not having the flags set. I propose these to be added.@sadok-f commented on GitHub (Dec 2, 2024):
Thank you @vikobeibe for suggesting these options.
I think it's a good idea to add the
-mtflag to the base command for converting to Webp format (the wrapper for ImageMagick would be-define webp:thread-level=1).Regarding the method flag (
-m), it seems the default value is4, we can add another URL variable to set this value, it could bewebpm_3for example, what do you think?@vikobeibe commented on GitHub (Dec 4, 2024):
Sorry for the slow response. Yes this sounds great, thank you!
@sadok-f commented on GitHub (Dec 19, 2024):
@vikobeibe checkout the latest release 1.7.1 that add the support for the
-m and -mt flags.
Thank you for your feature request!
@sadok-f commented on GitHub (Apr 28, 2025):
Hi @vikobeibe
If your company/organisation is using Flyimg, it would be great to have you listed in our ADOPTERS.md file!
Feel free to add your entry — we'd love to highlight your support.
Thank you!