I have the following function to convert PDF to images :
from wand.image import Image as Img
with Img(filename=pdfName, resolution=self.resolution) as pic:
pic.compression_quality = self.compressionQuality
pic.background_color = Color("white")
pic.alpha_channel = 'remove'
pic.save(filename='full_' + random + '-%03d.jpg')
If the PDF is multi page the JPG files are like this :
file-000.jpg
, file-001.jpg
My question is, is it possible to have a cpt starting at 1 ?
file-001.jpg
, file-002.jpg
Thanks in advance