Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better ReductionEffort #255

Merged
merged 2 commits into from
Jul 18, 2023
Merged

Better ReductionEffort #255

merged 2 commits into from
Jul 18, 2023

Conversation

n0vad3v
Copy link
Member

@n0vad3v n0vad3v commented Jul 18, 2023

Loop through ReductionEffort for possible fastest way to encode, as enhance to issue #234

@n0vad3v
Copy link
Member Author

n0vad3v commented Jul 18, 2023

Tested with effect as below using https://inspirehep.net/files/3ce7ad44b03d925850182b268e87487e.png as bigbig.png:

2023/07/18 23:01:01 [VIPS.info] vips__open_image_write: opening with O_TMPFILE
2023/07/18 23:01:01 [VIPS.info] vips__open_image_write: O_TMPFILE failed!
2023/07/18 23:01:01 [VIPS.info] vips__open_image_write: simple open
WARN[2023-07-18 23:01:08][244:webp_server_go/encoder.webpEncoder] Can't encode source image to WebP with default ReductionEffort 
WARN[2023-07-18 23:01:08][247:webp_server_go/encoder.webpEncoder] Retry using ReductionEffort: 1               
WARN[2023-07-18 23:01:12][247:webp_server_go/encoder.webpEncoder] Retry using ReductionEffort: 2               
INFO[2023-07-18 23:01:16][289:webp_server_go/encoder.convertLog] WebP@80%: pics/bigbig.png->exhaust/2707051faff094c4.webp 14916552->6684468 44.81% deflated 
WARN[2023-07-18 23:01:16][166:webp_server_go/helper.FindSmallestFiles] exhaust/2707051faff094c4.avif not found on filesystem 

@n0vad3v n0vad3v requested a review from BennyThink July 18, 2023 15:05
@github-actions
Copy link


ghcr.io/webp-sh/webp_server_go (debian 12.0)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)


1 similar comment
@github-actions
Copy link


ghcr.io/webp-sh/webp_server_go (debian 12.0)
============================================
Total: 0 (HIGH: 0, CRITICAL: 0)


@n0vad3v n0vad3v merged commit b988668 into master Jul 18, 2023
@n0vad3v n0vad3v deleted the better-reductioneffort branch July 18, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants