I was looking after something to generate barcodes for documents that I'm writing for a customer. After 1h searching the web, the foul here remembered that he is a Perl hacker.
Perl has a solution for this! I'm a happier person doing very little with GD::Barcode.
Ah! I'm a very happy person with CPAN's search beta too.