I am using wand package to convert a pdf file to tif file. I called Image. transform function to resize the image. Below is the code snippet
with Image(filename='sample.pdf') as img:
img.format='TIF'
img.transform('50%')
img.save(filename='sample.tif')
the code throw an xception:wand.exceptions.OptionError: invalide geometry ' @ error/geometry.c/ParseRegionGeometry/1524
I tried transform('800x1100')
. it did not work either