Menu

#3 Set Fixed Image Width / Height Sizes

Unstable (example)
accepted
nobody
None
5
2013-05-20
2012-07-13
shaker
No

This patch allows you to use IMAGE_WIDTH and IMAGE_HEIGHT constants to define the width and height of the image that is output.

Please take note that once set, the size cannot be changed. This means if you are batch processing images they will all have to be the same size unless you split your batch processing by desired size.

Also note, while I gave a width and height option, I strongly advise against setting them differently. QR Codes will probably not display correctly if this is done.

Discussion

  • shaker

    shaker - 2012-07-13

    Patch to qrimage.php for fixed width / height images.

     
  • Dominik Dzienia

    Dominik Dzienia - 2013-05-20

    lib missing some sizing features, currently it is possible only to specify pixel size multiplier, and whole image size is function of it, but also of qr code size and required silent zone.

    Maybe it will be needed for future release to allow specifying size and calculating resulting pixel size and silent zone from it.

     
  • Dominik Dzienia

    Dominik Dzienia - 2013-05-20
    • status: open --> accepted
    • Group: --> Unstable (example)
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.