Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposed additional options (marginSize, moduleSize, & fnc1) from dmtxencode.c #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

james-duvall
Copy link

Hi,

Thanks for creating pylibdmtx and also for packaging the Windows libdmtx binaries in the Wheel.

I found that I needed to be able to specify the DmtxProperty.DmtxPropModuleSize and DmtxPropMarginSize parameters to encode an acceptable Data Matrix for MIL-STD-130N. These seem like very useful parameters that should be exposed by pylibdmtx.

For example, my label printer has a 180 dpi resolution and the default module size of 5 pixels makes the data matrix too big.

I created a fix that works for me, but I'd be happy to discuss and help with creating a revision that can be merged into the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant