How to convert multiple pages of single pdf into one pdf
import os
os.system('convert 1902CAN00048.pdf outpit1.tiff -alpha Off shell=True')
error 255
How to convert multiple pages of single pdf into one pdf
import os
os.system('convert 1902CAN00048.pdf outpit1.tiff -alpha Off shell=True')
error 255
That shell=True
seems out of place. It's a parameter you'd use with subprocess.Popen
, not os.system
.
Have you tried
import os
os.system('convert 1902CAN00048.pdf outpit1.tiff -alpha off')
?
Does convert 1902CAN00048.pdf outpit1.tiff -alpha off
work on the command line as you expect?