The rotation issue since the last versions is actually caused by code that was added to try to detect PDF orientation in some edge cases. Ssince there are many unofficial and undocumented ways to rotate a PDF, it is not working 100% of the time. That is why it is now disabled by default and controlled via the DOCUMENTS_FIX_ORIENTATION setting. https://gitlab.com/mayan-edms/mayan-edms/commit/b06918c333fb582d749ffd255019223fb08ecb92
Better to have good orientation detection for good PDF than try to detect orientation in bad PDF and screw up detection for all PDFs. On Friday, April 6, 2018 at 12:45:59 PM UTC-4, Victor Zele wrote: > > Hi Roberto, > > As a new feature request, would be nice to use pdftk opensource tool with > command line option to rotate any PDFs that come in sideways. > Right now I have to download the document version, run pdftk command like > below and upload the output PDF as a new version for parsing and OCR again. > > # pdftk DOC-20180326-1045-0.pdf cat 1-endwest output output-rotated.pdf > > Seems to keep resolution, etc. on the PDF and you can specify west > rotation for counter-clockwise or east for clockwise rotation, 1-end means > all pages which is usually the case. > > > -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.