Skip to content

Conversation

@rgusmero
Copy link

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
)

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
    )
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