Despeckle and Deskew feature

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Despeckle and Deskew feature

Post by Dorwol »

In the feature list of "Image-XChange SDK" I found this info:
Apply filters: Despeckle, Deskew, DustScratch, Matrix, Median, Noise
But I don't find this two features in the documentation. Can you tell me, how I can use Despeckle and Deskew on an image?

THX!
Serg - Tracker Dev
User
Posts: 14
Joined: Wed Sep 17, 2014 7:40 am
Location: Ukraine

Re: Despeckle and Deskew feature

Post by Serg - Tracker Dev »

You can find the mentioned features (DustScratch, Matrix, Median, Noise) in functions IMG_PageFilter... :

Code: Select all

HRESULT IMG_PageFilterDustScratch(_XCPage page, UINT radius, UINT thresh, UINT flags);
HRESULT IMG_PageFilterMatrix(_XCPage page, const IXC_MatrixFilterDefinition* pMatrixDef, UINT flags);
HRESULT IMG_PageFilterMedian(_XCPage page, UINT radius, UINT flags);
HRESULT IMG_PageFilterNoise(_XCPage page, LPRECT rect, UINT level, UINT type);
But Despeckle and Deskew have similar functions too:

Code: Select all

HRESULT IMG_PageFilterDespeckle(_XCPage page, UINT flags);
HRESULT IMG_PageDeskew(_XCPage page, COLORREF bkColor, IXC_FreeRotate type, UINT flags);
Dorwol
User
Posts: 275
Joined: Mon Aug 04, 2008 5:04 pm

Re: Despeckle and Deskew feature

Post by Dorwol »

Thank you
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17889
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Despeckle and Deskew feature

Post by Tracker Supp-Stefan »

:)
Post Reply