I'm extracting a page from a PDF file and saving it as a JPG file with python. Things goes wrong when saving the image, the date is incorrect.
from wand.image import Image
path = 'C:\\Users\\Name\\Dropbox\\filename.pdf'
with Image(filename=path+"[0]", resolution=500) as img:
img.save(filename="C:/Users/Name/Documents/cut_filename.jpg")
When I'm using print(datetime.now())
this gives me the correct date and time.
How is this possible and how can I fix this?