Open EthanC-8 opened 11 months ago
this is how i solved this issue personally, as flatten_pdf doesn't quite seem to work properly in my experience (some text will still be editable). i find it better to use pdf2image's convert_from_path() directly.
this is incredibly slow and probably shit but it does work for me. hopefully it helps at all lol
Hey there, bacially i am trying to flatten my pdf using poppler method aka
fillpdfs.flatten_pdf(file_name, file_name, as_images=True)
now issue with the pdf has some bar code images as well issue is it reducses the resoloution which breaks the barcode
it bascially makes the barcode lines blurry which makes it unscanable..
is there a way to flatten because the as_images=False method isn't working..
top image is after flatten and bottom is before