can libvips support USM sharpen feature in thumbnail or resize function? #3926
stonebottle
started this conversation in
General
Replies: 1 comment
-
Hi @stonebottle, The libvips USM is https://www.libvips.org/API/current/libvips-convolution.html#vips-sharpen You'd do something like: import pyvips
image = pyvips.Image.thumbnail(filename, 256)
image = image.sharpen()
image.write_to_file(output_filename) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
USM algorithm (unsharpen mask) use lanczos2 / lanczos3 for filter。
In some big pictures reduce case, I need this USM for sharpening image details.
Beta Was this translation helpful? Give feedback.
All reactions