Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

wand image resize

with Image(filename ='img/image1.jpg') as image:
    width = image.width
    height = image.height

    print(width, height)

    image.resize(50, 60)
    width = image.width
    height = image.height

    print(width, height)
    image.save(filename='img/resized.jpg')
 
PREVIOUS NEXT
Tagged: #wand #image #resize
ADD COMMENT
Topic
Name
6+1 =