My goal is to read some barcode (qrcode with http://zbar.sourceforge.net/) printed on sheets. I am using a scanner (creating PDF) and the powerful ImageMagick to convert PDF to JPG.
Process :
Code: Select all
[On a sheet one barcode] -> [Scan 200 DPI] -> [PDF] -> [JPG] -> [Read barcode with Zbar]
I need your help to find the best options to convert my PDF into JPG. For the moment I use :
Code: Select all
convert -blur 0 -density 150 -quality 100 -threshold 50% source.PDF dest.jpg
What can I set to have best results whitout spending a lot of CPU time (I can use density 300 and get best results but it takes a lot of times).
After some tests, I hesiste between density 150 and 200 (time and quality) with what is it better to use density 150 instead of 170 ? Higher the density is, better will be the result ? No ?
Thanks