Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2012
    Thanked 0 Times in 0 Posts

    Copying Barcodes - need some advice

    I want to take an existing PDF - a label from a courier and reposition all objects and scale up or down.

    One of the items is a barcode.
    How can I read this and move it and resize?
    If taken as an image, I'm afraid of losing the quality.
    How could I read and keep in exact form - regardless of how I scale?


  2. #2
    Supreme Master coder!
    Join Date
    Jun 2003
    Cottage Grove, Minnesota
    Thanked 1,191 Times in 1,181 Posts
    You might be able to do it with FPDI:

    It loads the PDF file and extracts 'boxes' from that PDF, then you assemble into a new PDF for output.

    But ... FPDI is not free.

    It says it is free, but not free for any PDF versions above 4.1, which is just about everything.

    FPDI works as an extension of classes to FPDF, which is free. Can also be used with TCPDF.

    Here they describe the "free" version VS paid version:

    I actually did purchase the developer license a couple of years ago and use FPDI on a lot various PDF applications, mostly to write text and images on top of an existing PDF and generate a "new" PDF for output. It is pretty cool.


Tags for this Thread

Posting Permissions

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