JIPJIP Posted February 15 Share Posted February 15 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 Link to comment Share on other sites More sharing options...
ourpostalcode Posted March 14 Share Posted March 14 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 Link to comment Share on other sites More sharing options...
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.