This is the code I have tried:
import os
path = r'/Users/J2015/Desktop'
order = 'convert -density 100 -colorspace rgb {} {}'.format(os.path.join(path, r'testfile.pdf') , os.path.join(path, r'testimage.jpg'))
os.system(order)
However I recieve the following error:
sh: convert: command not found
I wish to use ImageMagic for this conversion. Could you please tell me what's wrong? Do I need read or write to have the final .jpg file? And is it possible to extend it to a couple of .pdf converting?