JIPJIP Posted February 15, 2024 Posted February 15, 2024 Thank you for your response, John. So it is still not possible in macros to resize to the same size images with different sizes AND choose the resizing algorythm. Hope this will be incremented. Quote
ourpostalcode Posted March 14, 2024 Posted March 14, 2024 You can resize an image to a fixed maximum size with affinity using Python's Pillow library in just a few lines of code: python Copy code from PIL import Image image = Image.open("input_image.jpg") image.thumbnail((500, 500), Image.ANTIALIAS) image.save("resized_image.jpg") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.