Converting Tif Files to Pdf in vb

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Converting Tif Files to Pdf in vb

    hi all,

    have succeeded on converting tif file to pdf using vb codes below->
    Code:
    Dim AcroApp As CAcroApp
    Dim avDoc As CAcroAVDoc
    Dim PDDoc As CAcroPDDoc
    Dim IsSuccess As Boolean
    
    Set AcroApp = CreateObject("AcroExch.App")
    Set avDoc = CreateObject("AcroExch.AVDoc")
    Call avDoc.Open(filename, "")
    Set avDoc = AcroApp.GetActiveDoc
    .................
    ................
    However, i realised that the converted pdf file is no longer searchable like the original tiff file. How can i do a text recognisation when/while converting to pdf file?
    jamesocw@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. converting to RAM Files
      Hi all, Need to convert mp3 -> RAM (Real Player), any freeware softwares you can advise i try out? cheers JB
    2. Converting Files to PDF
      I was jsut wondering if there was a way to convert access reports or any other type of files to PDF format using ColdFusion coding, and what the...
    3. Converting .PCT Files
      Hello, does anyone know if there is a CF function or CFML tag that can convert a .pct file to something that will render in Internet Explorer like...
    4. converting unreadable files
      Using Publisher 2000 I was able to create my website. When I upload to the host, the files successfully upload however, once loaded, they are...
    5. Converting Macintosh FH MX files to the PC
      Does anyone on the board have first hand experience with transitioning FH files created on a Mac with FH MX to a PC with FH MX ??? If so, does it...
  3. #2

    Default Re: Converting Tif Files to Pdf in vb

    First, a TIFF file is NEVER searchable as it can't contain text. It is just an raster image. So I am not sure why you believe otherwise.

    Second, The use of the AVDoc.Open() command to convert files to PDF is not supported by Adobe (though yes, we are aware that it works).

    Leonard
    Adobe Systems
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: Converting Tif Files to Pdf in vb

    hi..

    am just wondering if i could do a OCR process then a text search and it works! Other hand, when i convert the tiff file to pdf, it indeed not searachable in the converted pdf file. However, when i do a pdf OCR process to the pdf file, the file became text searchable!!!..

    thus, i figuring if i can do a conversion to a pdf file, then a OCR process to it and save the searchable pdf file and its done!But i am not sure which function to call in the PDF SDK.
    jamesocw@adobeforums.com Guest

  5. #4

    Default Re: Converting Tif Files to Pdf in vb

    The OCR functionality of Acrobat is only available to Plugins - not via COM or JavaScript.

    Leonard
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: Converting Tif Files to Pdf in vb

    hihi..

    Is there a way which i could make use of the plugins in my VB Code and the PDF Full version to do the job?
    jamesocw@adobeforums.com Guest

  7. #6

    Default Re: Converting Tif Files to Pdf in vb

    You would have to write your own plug-in with C++.

    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

  8. #7

    Default Re: Converting Tif Files to Pdf in vb

    To follow up on what Aandi said...

    You would have to write your own plugin that called on the OCR feature of Acrobat and exposed a COM interface.

    Then your VB code would call that exposed COM interface.

    Leonard
    Leonard_Rosenthol@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139