vipsthumbnail - resize PNG without antialias #3083
Unanswered
mistermiracl
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Hi @mistermiracl, No, You'll need to use one the language bindings (python, ruby, C++, php, rust, etc.) if you want more control over resizing. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an image, a triangle in this case, that is using just one color, meaning it doesn't have any pixels with alpha pixels except for the background that is fully transparent, I would like to keep it that way
og image
but when I resize the image using the following command:
vipsthumbnail triangle.png -s 500x -o triangle-tailored.png
antialias pixels are added to sharpen the edges Im guessing
is it possible to not do that using
vipsthumbnail
? thanksBeta Was this translation helpful? Give feedback.
All reactions