pycairo
pycairo copied to clipboard
convert normal pdf to cairo graphics format
Hi,
I have a strange issue with my PDF's, I am using layout detection for the PDF's by converting each PDF page to image and doing inference on the image. one day I have split the document using print to pdf option from document viewer from GNOME desktop. When i check the properties of the converted file I get below. here you can see producer is cairo. but surprisingly, my layout detection model is not working with any other PDF's producers until i am converting original PDF to cairo specific as i said above (print to pdf using document viewer from GNOME desktop). so is there anyway to change the pdf to cairo specific?
