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

Added option to set encoder properties #86

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

Commits on Oct 28, 2022

  1. Added option to set encoder properties

    Parameters can now be set to the encoder via kwargs in encode() function. This makes it much more flexible.
    
    Example code:
    
    encoded = pylibdmtx.pylibdmtx.encode(
            b'0123456',
            'Ascii',
            'SquareAuto',
            DmtxPropPixelPacking=pylibdmtx.pylibdmtx.DmtxPackOrder.DmtxPack8bppK,
            DmtxPropMarginSize=0,
            DmtxPropModuleSize=1
        )
    rgusmero committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    891bbab View commit details
    Browse the repository at this point in the history