[Mayan EDMS: 2045] Transformations Auto Rotate (bug)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2045] Transformations Auto Rotate (bug)

David Kornahrens
We are having documents self-rotate themselves 90 degrees and I'm not sure why.  I'm having to manually remove the transformations from each document and then resubmit them for OCR.

Any ideas?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2046] Re: Transformations Auto Rotate (bug)

rosarior
Administrator
Can you provide a sample document (no confidential or private information) to test and debug the issues?

On Tuesday, August 29, 2017 at 12:05:32 PM UTC-4, David Kornahrens wrote:
We are having documents self-rotate themselves 90 degrees and I'm not sure why.  I'm having to manually remove the transformations from each document and then resubmit them for OCR.

Any ideas?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2054] Re: Transformations Auto Rotate (bug)

David Kornahrens
Roberto, 
See attached screen shots.



On Wednesday, August 30, 2017 at 4:55:14 AM UTC-4, Roberto Rosario wrote:
Can you provide a sample document (no confidential or private information) to test and debug the issues?

On Tuesday, August 29, 2017 at 12:05:32 PM UTC-4, David Kornahrens wrote:
We are having documents self-rotate themselves 90 degrees and I'm not sure why.  I'm having to manually remove the transformations from each document and then resubmit them for OCR.

Any ideas?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.

1.JPG (23K) Download Attachment
2.JPG (110K) Download Attachment
3.JPG (46K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2064] Re: Transformations Auto Rotate (bug)

rosarior
Administrator
I need one of the actual PDF files to upload it locally and debug the rotation detection. If these are produced by a specific equipment you can scan a dummy test page (like the one Ubuntu of Windows produces to test a printer) and attach it to a the reply.

On Thursday, August 31, 2017 at 9:11:58 AM UTC-4, David Kornahrens wrote:
Roberto, 
See attached screen shots.



On Wednesday, August 30, 2017 at 4:55:14 AM UTC-4, Roberto Rosario wrote:
Can you provide a sample document (no confidential or private information) to test and debug the issues?

On Tuesday, August 29, 2017 at 12:05:32 PM UTC-4, David Kornahrens wrote:
We are having documents self-rotate themselves 90 degrees and I'm not sure why.  I'm having to manually remove the transformations from each document and then resubmit them for OCR.

Any ideas?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2068] Re: Transformations Auto Rotate (bug)

David Kornahrens
In reply to this post by David Kornahrens
Roberto,
Here is one of the documents.  I've noticed they are rotating coming from the source (we use printer to IMAP email to pick up the files).

Thanks,
David

On Tuesday, August 29, 2017 at 12:05:32 PM UTC-4, David Kornahrens wrote:
We are having documents self-rotate themselves 90 degrees and I'm not sure why.  I'm having to manually remove the transformations from each document and then resubmit them for OCR.

Any ideas?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.

AUGUST 30 2017 2017-01042.pdf (755K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2071] Re: Transformations Auto Rotate (bug)

rosarior
Administrator
I ran the file through the command `pdfinfo` and it reports that the pages are rotate by 270 degrees. Mayan is adding a 90 degrees rotation transformation to compensate. However when I view the PDF with xpdf and evince or extract the PDF pages by hand using pdftoppm or ghoscript, they are not rotated, they come out straight (portrait). I tried the same with the PDF you included in issue 387 (https://gitlab.com/mayan-edms/mayan-edms/issues/387) which also reports a rotation of 270 degrees. With this document, viewed or extracted pages have indeed a rotation of 270 degrees and show in landscape format. 

I'm uncertain if the PDF metadata reporting a 270 degrees rotation in the latest PDF (AUGUST 30 2017 2017-01042.pdf) is incorrect or that the extraction and viewers tools are all compensating automatically. Both PDF seem to be produced by the same equipment: Xerox WorkCentre 7845 but the first document (2016_Pumper_Test_Records.pdf) appears to be single pages that were later merged using a PDF merge tool.

More tests using different tools is required to determine which situation is the correct one: 1) the rotation information is wrong, 2) the tools all compensate for rotation when extracting images or viewing and it is not necessary for Mayan to add a transformation, 3) the merge tool used to compose the first PDF document scrambled the rotation metadata or rotated the pages without updating the rotation metadata.

On Friday, September 1, 2017 at 8:21:55 AM UTC-4, David Kornahrens wrote:
Roberto,
Here is one of the documents.  I've noticed they are rotating coming from the source (we use printer to IMAP email to pick up the files).

Thanks,
David

On Tuesday, August 29, 2017 at 12:05:32 PM UTC-4, David Kornahrens wrote:
We are having documents self-rotate themselves 90 degrees and I'm not sure why.  I'm having to manually remove the transformations from each document and then resubmit them for OCR.

Any ideas?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.

Selection_040.png (72K) Download Attachment