pdf417mrz
pdf417mrz

Reputation: 7

Two pdf417 with same encoded data look totally different. Why is that so?

Im trying to recreate a barcode from driver license, which looks like this:

Original barcode

I recreated it with treepoem python application:

Generated barcode

The encoded data is the same and generated barcode has the same number of columns and rows, but visually they are totally different. Why is that so? Is there any way to change how visually the generated pdf417 looks?

I tried to change the security level and application, but it was not helpful. I want generated barcode looks exactly same as on original.

Upvotes: -1

Views: 153

Answers (1)

ssice
ssice

Reputation: 3683

Your original barcode contains an error correction length of 64, while the one you generated uses 128.

Treepoem uses BWIPP and ghostscript as the backend and they can be customized up to an extent, but if you force the number of rows it will increase the security level.

Upvotes: 1

Related Questions