You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to work out what the default filter used with image_resize() is.
I see from the R package documentation that it is set to NULL image_resize(image, geometry = NULL, filter = NULL)
Filter to use when resizing image. The reduction filter employed has a sigificant effect on the time required to resize an image and the resulting quality. The default filter is Lanczos which has been shown to produce good results when reducing images.
But when I compare an image resized with the default filter = NULL argument, and one resized by specifying filter = "Lanczos" - they are not the same (see example below). Is anyone able to help?
OK, so I seem to be answering my own question here! But Ive just tested and it looks like the Undefined filter and the Mitchell filter return the same for me.
So is it the Mitchell filter that is used by default? Would love some help with this is possible!
Hi there, I have a question/help wanted issue.
I'm trying to work out what the default filter used with
image_resize()
is.I see from the R package documentation that it is set to NULL
image_resize(image, geometry = NULL, filter = NULL)
So I looked in the Magick++ documentation (https://www.imagemagick.org/Magick++/STL.html) and see that it might be
Lanczos
But when I compare an image resized with the default
filter = NULL
argument, and one resized by specifyingfilter = "Lanczos"
- they are not the same (see example below). Is anyone able to help?Thanks!
Output
The text was updated successfully, but these errors were encountered: