PDF parser

Posted on 2007-10-01
Last Modified: 2012-06-21
Hi, Experts! I want to parse PDF files (in each file there is only one A4 paper) and extract text values and image objects. Is it any suitable component for this task?
Question by:Alexander_Savenko
    LVL 24

    Expert Comment

    by:Tomas Helgi Johannsson

    Here is an example how to get the Text from PDF file :
    Also there are several components on Torry : Just Type in PDF in The Quick Search.
    You could also Import the Adobe Reader Ocx file and gain access to the functions you need to extract
    the text/images you need (similar to the above example).

       Tomas Helgi
    LVL 26

    Expert Comment

    You can take the free .Net iText application, convert it to a DLL or ActiveX and use it in your Delphi application.
    LVL 6

    Accepted Solution

    Use freeware package Xpdf:

    It has several command line tools compiled for windows:
     * pdftotext.exe  - is for extracting text
     * pdfimages.exe  - is for extracting images
     * pdfinfo.exe  - if for extracting pdf tags

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Simple Delphi Question 9 68
    Delphi application Soap connection 5 62
    java constructor error 8 65
    firstChar challenge 13 57
    This article will show, step by step, how to integrate R code into a R Sweave document
    When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
    The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now