I'm trying to create high res jpegs from a pdf using wand. This question is a follow up to How to create high res JPEG with Wand.
I'm getting the error:
with ok.transform('2000x1000', '100%') as image:
AttributeError: __enter__
Trying to step through the code:
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 12:30:02) [MSC v.1900 64 bit (AMD64)] on win32
>>> im = ok.transform('2000x1000', '100%')
>>> im
>>> im
you can see that I am unable to assign the transformed image to im. Why ?