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.

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 
For more options, visit

Reply via email to