Skip Menu |

This queue is for tickets about the Barcode-DataMatrix-PNG CPAN distribution.

Report information
The Basics
Id: 118155
Status: new
Priority: 0/
Queue: Barcode-DataMatrix-PNG

People
Owner: Nobody in particular
Requestors: petercj [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: support for Barcode::DataMatrix's 'size' attribute
It would be really nice if there were support for Barcode::DataMatrix's 'size' attribute in Barcode::DataMatrix::PNG, so users could choose the specific resolution, including the non-square sizes, rather than relying on the square default. I was able to override the object's 'data' attribute to use the data from a sized-Barcode::DataMatrix, and it renders mostly right, except that when I used a '16x48', the image was a square of 48x48 boxes (or 144x144 pixels) instead of being the rectangle that the original was.
I made the updates, and submitted a pull request (https://github.com/KasemOmary/Barcode-DataMatrix-PNG/pull/1)