Page 1 of 1

ADR w/ multipage TIFFs?

Posted: Fri Nov 13, 2009 5:36 pm
by andypl
How well - if at all - does ADR work with multipage TIFFS? Do I need to compare the pages individually or will the ADR engine compare pages to pages?

Any code examples would be appreciated?

Also - any hints for getting ADR to work with your typical black text on a white page business forms? I'm having it return the incorrect matching template on documents that look pretty different to my eye!

Thanks
Andy

Re: ADR w/ multipage TIFFs?

Posted: Sat Nov 14, 2009 11:42 am
by Loïc
Hi Andy,
How well - if at all - does ADR work with multipage TIFFS? Do I need to compare the pages individually or will the ADR engine compare pages to pages?
ADR engine considers a Template as a single page document. Therefore, if you want to make multipage document comparison you have to create a different template for each page.

Code: Select all

        Dim PageCount As Integer = oGdPictureImaging.TiffGetPageCount(ImageID)
        Dim TemplateArray(PageCount) As Integer

        For i As Integer = 1 To PageCount
            oGdPictureImaging.TiffSelectPage(ImageID, i)
            TemplateArray(i - 1) = oGdPictureImaging.ADRCreateTemplateFromGdPictureImage(ImageID)
        Next
any hints for getting ADR to work with your typical black text on a white page business forms? I'm having it return the incorrect matching template on documents that look pretty different to my eye!
Could you attach some of these documents ?

Kind regards,

Loïc