Skip to content

v1.0.6 FixFixFix

Compare
Choose a tag to compare
@tavinus tavinus released this 20 May 09:39
· 11 commits to master since this release

v1.0.6 FixFixFix

  • Fix and Add a lot of stuff
  • Fix to PNG and JPG Barcodes (color was broken)
  • Hex Color validated and transformed as needed for all modes
    • char # is optional but must have 3 or 6 hex numbers (alphanumeric is tested)
    • converts color to RGB if JPG or PNG
  • -v, --verbose mode implemented, prints execution info
  • -q, --quiet mode implemented, will suppress even error messages
  • -vv or -v -v doubled verbose mode added for timestamp on each line
  • Patch to upstream ulrichsg/getopt-php so we can have parameters at the end! YES!
    • It is now possible to pass anything in any order, as long as it is valid
    • The ONLY thing to consider is that the Barcode String MUST come before the File Name
    • This is valid now: $ barcode "12312341" -e CODE_39 -f SVG ./myBar.svg -v
    • Honestly, I thought this was possible, but it has never been. Now it is.
  • Tested color, width, height on all formats (jpg,png,svg,html), all working now
  • Added extra help info with 2-liner possibility
  • Updated Readme