Community

[Cloud] Height and width xml issue

Hello

I´m having an issue where im sending an pdf which is captured in landscape mode. When the response xml and pdf is returned the pdf is corrected to portrait mode but the xml height and width are given in the original landscape mode. Example height="1234" width="4321" where it should be the opposite when the page is rotated to portrait mode. This results in problems when we need to show something on the page from the given coordinates as these are incorrect according to the returned portrait pdf.

I have enclosed one of the ocr taskids for one of the pdf´s

Taskid: 5f22e1ca-1101-4b18-8af7-258d757faf52

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    To get the coordinates of the corrected image use the xmlForCorrectedImage export format of the processImage method. This format is the same as xml, but all coordinates written into the output XML file relate to the corrected image, not the original.

    0

Please sign in to leave a comment.