To decode a pbm file "jac.pbm", do "./pdf417decode jac.pbm". The file is written to stdout.
The decoder can take a -d option to output the codewords it saw in the image.
The decoder ignores error correction info. Your compiler needs to understand that "long long" is 64 bits (gcc does) in order to compile it.
Thank for basic original software writen by Ian Goldberg, Modify and update by OOO S. (firstname.lastname@example.org)
If you can debug or modify this software to work better than now (like add error correction, or modify for any operation system) you can cantact OOO S. (email@example.com) I will annouce your name in the next modify rev.
For specification of pdf417 you can see at http://www.geocities.com/ooosawaddee3pdf417/