Java API to read barcodes

Discussion in 'Java' started by Craig, Jan 11, 2007.

  1. Craig

    Craig Guest


    Is there any java api to read barcodes from a pdf document ? Please let
    me know.

    Craig, Jan 11, 2007
    paulabc likes this.
    1. Advertisements

  2. Craig wrote:
    (Please let me know) What search terms did you use?

    Andrew T.
    Andrew Thompson, Jan 11, 2007
    1. Advertisements

  3. Craig

    Craig Guest

    Hello Andrew,

    I tried the following keywords to search

    --> Barcode reader java
    --> Barcode recognition java

    Am I missing something ? Please let me know.

    Craig, Jan 11, 2007
  4. Craig

    Oliver Wong Guest

    I tried "Barcode reader java", the exact same term as you did, and the
    first hit was

    - Oliver
    Oliver Wong, Jan 11, 2007
  5. Craig

    Chris Uppal Guest

    But how do you get the contents of your PDF file into a java.awt.Image ?

    I suspect that it might be doubly difficult to get barcodes out of PDF files
    since there are at least three intrinsically different ways they could be
    encoded therein (as text in a barcode font, as raw graphics instructions, or as
    embedded images). Of course, the OP may know something about the PDF files
    that would narrow those possibilities.

    Maybe the thing to do would be to use some PDF renderer (probably not written
    in Java) to generate TIFF, or whatever, graphics files, and then use an
    off-the-shelf barcode reader package such as the one you mention to read that.
    Alternatively, the images might be embedded in the PDF in a way that the data
    could be extracted more directly. It all depends on the PDF and how it is

    -- chris
    Chris Uppal, Jan 11, 2007
  6. Craig

    David Zondray

    Sep 8, 2014
    Likes Received:
    David Zondray, Oct 9, 2014
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.