Sunday, December 6, 2009

2D Barcodes tamed

I love open source software. And I don't agree people saying something is impossible. I use Linux so I disagree something is not possible on Linux.
This task was a real catastrophe. Mass Matrix barcodes generation.
iec16022 command-line software is cute but images are too small. Ok, you can specify widthxheight, but there is a side effect (just try it).
So pictures 24x24 pixels and mogrify from ImageMagick to change the size (maybe sharpness is not so high but readers doesn't have any problems with it - and the initial size was just 24x24 pixels !!!).
And than autotrace to convert it to any vector format (SVG in my case - easy to include into the web page).
And voila. I'm home. Ready. Than just a simple command line script with filenames as arguments.
Now I have to prepare script putting all images and descriptions into one PDF.






No comments:

Post a Comment