Git Product home page Git Product logo

Comments (2)

jamesprior avatar jamesprior commented on July 30, 2024

As far as I know, those are both PDF417 compliant barcodes. There are some differences between them but I think that is all about the options set on the left hand side of the online generator. The data mode, error correction level, row and column count will all change the barcode. Visually, one thing I note in the online example is that many of the rows are similar which suggests that for the length of data you're encoding you don't need 30 rows.

The gem will try to get a best row and column fit based on the data. I remember that it always uses one data mode but I forget what mode that is. Lastly, it has a default error correction level but I forget what that one is too.

The y scale in your ruby gem example is probably larger than it needs to be too. Maybe try 2 or 3?

As for what else to be aware of with the option arguments, I've always gone with 'scannable' as my top goal which depends a lot on the scanners you'll be using, the paper, and the environment they'll be used in. If it's a rough environment where the barcode can get obscured or destroyed a high error correction would be great. If it's on a small part that is protected from smudges then you'd want something smaller. It will probably take some experimentation to find the best fit.

from pdf417.

bonol avatar bonol commented on July 30, 2024

Thanks James! I think you are right. At the end of day, it's all about if the barcode is 'scannable'. Will do some experiments.

from pdf417.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.