Skip to content

Commit

Permalink
Merge pull request #9 from Nutcake/fast-compression
Browse files Browse the repository at this point in the history
Change WebP compression method
  • Loading branch information
Frooxius authored Jan 24, 2024
2 parents 72e49db + 1f99bbb commit fba7f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FreeImage/PluginWebP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ EncodeImage(FIMEMORY *hmem, FIBITMAP *dib, int flags) {

config.thread_level = 1;
// quality/speed trade-off (0=fast, 6=slower-better)
config.method = 6;
config.method = 0;

config.exact = (flags & WEBP_EXACT) == WEBP_EXACT;

Expand Down

0 comments on commit fba7f70

Please sign in to comment.