"Create PDF from Images": "Deskew" and "Detect skew of image"

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

User avatar
Jensen Head
User
Posts: 698
Joined: Mon Sep 13, 2021 8:12 am

"Create PDF from Images": "Deskew" and "Detect skew of image"

Post by Jensen Head »

In the "Create PDF from Images" tool settings, in the "Image Post-Processing Options" tab, there is a "Deskew" checkbox. In addition, in the same tab in the "OCR Image (Enhanced)" window there is a "Detect skew of image" setting.
2021-11-03_14-05-26.png
Am I correct in understanding that the first setting automatically corrects a slight skew of the entire page (within ± 45 degrees), while the second leaves the rotation of the imported page intact, and only helps the OCR engine to detect text lines located at arbitrary angles?
You do not have the required permissions to view the files attached to this post.
User avatar
Radi - PDF-XChange
Site Admin
Posts: 619
Joined: Tue Mar 03, 2015 12:46 pm

Re: "Create PDF from Images": "Deskew" and "Detect skew of image"

Post by Radi - PDF-XChange »

Hello Jensen Head,

Both options do essentially the same - they detect if the image is skewed and straighten it. There are two separate options for this because you may want to deskew the image without running OCR. Also, the second deskew (the one from the OCR settings) is run by the OCR engine.

Regards,
Radi
User avatar
Jensen Head
User
Posts: 698
Joined: Mon Sep 13, 2021 8:12 am

Re: "Create PDF from Images": "Deskew" and "Detect skew of image"

Post by Jensen Head »

If both options are selected, couldn't it happen that the image will be rotated twice, that is, re-encoded twice with a corresponding deterioration in quality? If the user is going to perform OCR anyway, which method would you recommend as more accurate/correct/works with fewer false positives?
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2595
Joined: Mon Jan 15, 2018 9:01 am

Re: "Create PDF from Images": "Deskew" and "Detect skew of image"

Post by Dimitar - PDF-XChange »

Hello Jensen Head,

I would recommend using the dedicated OCR tool first as it has much more options to choose frоm.

image.png


Regards.
You do not have the required permissions to view the files attached to this post.
User avatar
Jensen Head
User
Posts: 698
Joined: Mon Sep 13, 2021 8:12 am

Re: "Create PDF from Images": "Deskew" and "Detect skew of image"

Post by Jensen Head »

Dimitar - PDF-XChange wrote: Mon Oct 20, 2025 2:34 pmI would recommend using the dedicated OCR tool
I didn't quite understand your advice. In your screenshot, you have two skew correction methods checked simultaneously: "Detect skew of page content" and "Fix content skew and incorrect page rotation." My last question was about the side effects of using these two methods simultaneously (OCR-based and non-OCR-based).
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2595
Joined: Mon Jan 15, 2018 9:01 am

Re: "Create PDF from Images": "Deskew" and "Detect skew of image"

Post by Dimitar - PDF-XChange »

Hello Jensen Head,

which method would you recommend as more accurate/correct/works with fewer false positives?
The reason I suggested using the OCR tool directly is precisely because it tends to produce fewer false positives as it offers more control over the process.

That said, both options serve different purposes, so using them simultaneously will not lead to unexpected results.


Best regards.