convert - pdf to tiff for reading barcodes
Posted: 2014-01-24T14:30:02-07:00
Hello,
First time posting on the ImageMagick forum.
Here is the scenario:
Most documents in our office have a barcode on them.
We have software that can read barcodes in tiff images.
We want to scan the documents into our server as pdf files and use convert to generate a tiff copy for the barcode software to read.
Once the barcode is decoded, a program can use the information in the barcode to organize the pdf files.
Have been trying different convert option to get a clean tiff image from the scanned pdf files. The cleaner (more defined) the barcode images are, the fewer documents get kicked out that have to be manually organized.
Have tried various convert options (mainly combinations including -threshold and -adaptive-sharpen) with marginal success.
Was wondering if anyone has tackled a similar issue, that might be able to provide some advice.
I included a link to a test barcode image:
http://imgur.com/3FqY62Y
So basically, need to convert a pdf file to a tiff file while retaining as much detail in the image as possible. Ideally the resulting tiff file would be similar in size to the original pdf. (Not a big deal if the tiff file is a little bigger, but sometimes in my testing the file size of the tiff file would be over 10x the file size of the original pdf.)
Also, if other convert options can help make the barcodes cleaner (darker, with more well-defined edges) that would be super.
Appreciate any help or guidance provided.
Thank you.
Respectfully,
Brad
First time posting on the ImageMagick forum.
Here is the scenario:
Most documents in our office have a barcode on them.
We have software that can read barcodes in tiff images.
We want to scan the documents into our server as pdf files and use convert to generate a tiff copy for the barcode software to read.
Once the barcode is decoded, a program can use the information in the barcode to organize the pdf files.
Have been trying different convert option to get a clean tiff image from the scanned pdf files. The cleaner (more defined) the barcode images are, the fewer documents get kicked out that have to be manually organized.
Have tried various convert options (mainly combinations including -threshold and -adaptive-sharpen) with marginal success.
Was wondering if anyone has tackled a similar issue, that might be able to provide some advice.
I included a link to a test barcode image:
http://imgur.com/3FqY62Y
So basically, need to convert a pdf file to a tiff file while retaining as much detail in the image as possible. Ideally the resulting tiff file would be similar in size to the original pdf. (Not a big deal if the tiff file is a little bigger, but sometimes in my testing the file size of the tiff file would be over 10x the file size of the original pdf.)
Also, if other convert options can help make the barcodes cleaner (darker, with more well-defined edges) that would be super.
Appreciate any help or guidance provided.
Thank you.
Respectfully,
Brad