Convert pdf to jpeg, Chinese garbled,other normal.
image.png (51.7 KB)
code:
file_name_without_ext = Path(file_name).stem
document = ap.Document(str(file_path))
resolution = ap.devices.Resolution(200)
…...embedding or the way the PDF handles text encoding. If the fonts used...process, it can lead to garbled text in the output images. Solution...