Commit Graph

261 Commits

Author SHA1 Message Date
Robin Stuart
47cac63e7f Add alpha channel support and --nobackground option
Alpha channel for PNG and SVG and option to remove background from EMF
2020-08-02 22:26:39 +01:00
gitlost
74ad80976e PDF417TRUNC: stop pattern; PDF417: no default mode codeword 900 if 1st 2020-07-17 16:39:01 +01:00
gitlost
2a19b883a5 UPC/EAN, ITF14: quiet zones, addongap; raster/vector: sync code, use double 2020-07-15 19:00:12 +01:00
gitlost
c1fb51ba42 rss.c: some fixes for separators, allow check digit, refactoring; bwipp_dump.ps 2020-07-10 19:39:32 +01:00
gitlost
9768cd004a main.c: do validator() before atoi()s if not already; primary strlen max 90 -> 127 2020-06-23 23:35:33 +01:00
gitlost
d0e2c5928a #197 Allow --secure=0 in main.c; manual --mode -> --secure AZTEC/HANXIN 2020-06-23 22:06:18 +01:00
gitlost
6242e02638 CODEONE/ULTRA overrun fixes; TELEPEN fixes; CODEONE/LOGMARS/VIN/CODABAR options; GUI updates; tests 2020-06-04 18:45:25 +01:00
gitlost
7be63a00b6 CODE16K fixes; separator default 1; raster/vector.c quiet_zones, output.c; #191 2020-05-21 18:22:28 +01:00
Harald Oehlmann
9f56a1c35e - Added changes in README
- Migrated changes in main.c to tcl backend
- TCL Demo did not honor the specified options
- Added "static" to function "is_stackable" in frontend/main.c. This is an interrim solution, see E-Mail.
2020-05-19 12:02:18 +02:00
gitlost
8dcd09406c CODABLOCKF and CODE128 fixes; row separator height option_3; #191 2020-05-16 10:22:33 +01:00
Robin Stuart
1e2d9ba345 Add Ultracode text to isotest 2020-04-06 17:57:40 +01:00
Robin Stuart
0d26948baa Merge branch Ultra 2020-04-06 17:05:22 +01:00
gitlost
61cd413fe4 Full multibyte option_3 for QR, HANXIN, GRIDMATRIX 2020-04-02 14:41:13 +01:00
Robin Stuart
b572bb513d Ultra: Disable code compression by default
Ensures symbols are valid until better version of specification is available
2020-03-29 22:23:07 +01:00
Robin Stuart
ad28de1819 Initial implementation of rMQR
According to draft dated June 2018
2019-11-25 19:08:25 +00:00
Robin Stuart
385a0a246f typo-- in isotest 2019-11-17 22:03:54 +00:00
Robin Stuart
c6d5d28eab Updated ISO tests now include data from draft Dot Code and Han Xin standards 2019-11-17 21:55:32 +00:00
Harald Oehlmann
ed00537283 2019-09-01 HaO restored main.c which was unintentiously deleted in git 2019-09-02 11:05:43 +02:00
gitlost
251a7d99c4 New files 2019-09-01 21:09:47 +01:00
Harald Oehlmann
efa4a8f435 2018-08-30 HaO Maxicode "input to long" error. Backport from okapi by Remi. Ticket #148 2019-08-30 16:40:44 +02:00
Harald Oehlmann
cb3eea2ba0 2018-08-30 HaO Implemented GS separator for Datamatrix (--gssep option). Ticket #139 2019-08-30 16:14:17 +02:00
Robin Stuart
dddf2934fc Allow escape character processing
Fixes #101 reported by Martin Zizka
Converts \xNN characters > 0x7c to UTF-8 if appropriate
Removes some redundant legacy code
2018-04-22 14:25:39 +01:00
Robin Stuart
e6618f1a1b Allow escape character processing in batch mode
Suggested by Martin Zizka, Fixes #96
2018-03-30 11:40:44 +01:00
Robin Stuart
ffd1ed2d6b Update version number to 2.6.3 2018-02-15 10:46:02 +00:00
Robin Stuart
78d85bd72e Add font size option for SVG and EPS 2018-02-11 09:55:28 +00:00
Robin Stuart
389bcce10f Add Royal Mail Mailmark to front end 2018-02-09 20:55:17 +00:00
Robin Stuart
e737f992b5 Add verification for North America VIN (Vehicle Identification Number) 2018-02-03 18:44:01 +00:00
Robin Stuart
d2161ffb20 Make CLI errors more consistent
Should now output errors and warnings in a consistent and predictable fashion. This is not a neat solution, but functional for now.
2018-01-21 14:33:54 +00:00
Robin Stuart
45e584ba28 Fix filetype recognition bug in frontend
Fixes #84 submitted by Michael Lee
2017-12-11 17:52:22 +00:00
Robin Stuart
ddce98a1bb Correct processing of escape char mode 2017-11-05 14:27:01 +00:00
Boris Zentner
31cc0ae78a Remove spaces before EOL 2017-10-25 17:23:57 +01:00
Robin Stuart
0314ca65a8 Move escape character processing into library
And expand to include all 8-bit values.
2017-10-21 12:45:50 +01:00
John Mortlock
bf73227f31 Allow rotation in batch processing mode 2017-10-09 20:35:10 +10:30
Rodrigo Torres
4963a772db Refactor 2017-09-11 19:21:33 +01:00
Robin Stuart
608b4b9134 Audit of error codes 2017-07-27 16:01:53 +01:00
Robin Stuart
24f175b6f6 Flag if DM_SQUARE is used at the same time as symbol size selection 2017-07-26 11:16:54 +01:00
Robin Stuart
451f0150d8 Expand ECI support and enforce binary mode when ECI is set 2017-07-23 17:59:51 +01:00
Julien Nabet
3257a5c0af cppcheck: fix reports
[backend/bmp.c:133]: (error) Memory leak: bitmap
[backend/bmp.c:126]: (error) Memory leak: bitmap
[backend/composite.c:464]: (error) Array index -1 is out of bounds.
[backend/composite.c:507]: (error) Array index -1 is out of bounds.
[backend/dmatrix.c:962]: (style) Redundant condition: i!=0. 'i==0 || (i!=0 && binary[i-1]!='b')' is equivalent to 'i==0 || binary[i-1]!='b''
[backend/raster.c:122]: (error) Memory leak: rotated_pixbuf
[backend/raster.c:506]: (error) Memory leak: pixelbuf
[frontend/main.c:273]: (error) Uninitialized variable: format_string
[frontend_qt/exportwindow.cpp:103]: (style) Array index 'j' is used before limits check.
2017-07-01 09:49:47 +01:00
Robin Stuart
b3a1b24d18 help the compiler create more efficient code
Patch from Michael <virtual_worlds@gmx.de>
Full text: As usual I have modified only minor things to remove warnigs when compiled as C++ code, have added some const-specifiers where possible to help the compiler create more efficient code and added some static-specifiers to make functions invisible to other modules.
2017-05-29 10:43:47 +01:00
Robin Stuart
b426877a4f Add new symbology UPNQR 2017-05-20 23:37:50 +01:00
Robin Stuart
6f4610aa98 Add verbose mode to output debug info without recompiling 2017-04-11 10:05:38 +01:00
Robin Stuart
b199bc8ee6 CLI should not ignore --eci flag
Bug found thanks to Marjan Leden
2017-04-10 22:14:35 +01:00
Robin Stuart
e7858dfe98 Add version information to zint.h and increment release version
Relates to #51
2016-12-10 09:04:06 +00:00
Robin Stuart
1bd7783968 Bugfix: Correctly handle --filetype input 2016-10-30 19:22:50 +00:00
Robin Stuart
3fad793aeb Replace missing \n 2016-10-30 18:54:26 +00:00
Robin Stuart
4561a66067 Add identifiers to error messages
To ease the debug process
2016-10-28 22:40:40 +01:00
Robin Stuart
d875318b3d Add option to include check digit in UPC/EAN data, and validate before encoding
Fixes #5
2016-10-28 19:43:08 +01:00
Robin Stuart
83e368f8c1 Update test routines 2016-10-27 13:34:59 +01:00
Robin Stuart
eecad5e43f Allow minimum number of columns 2016-10-27 09:47:04 +01:00
Robin Stuart
6003b14083 Simplify CLI for batch processing 2016-10-17 21:10:13 +01:00
Robin Stuart
9eff5cc63a Allow adjustment of dot size when in dotty mode 2016-09-18 14:09:58 +01:00
Robin Stuart
0dd072437e Add Codablock options to Studio
Also remove divide by zero bug calculating row height
2016-09-17 11:39:01 +01:00
Harald Oehlmann
e6ff154543 Codablock F C128 Codeword generation implemented 2016-08-31 16:29:21 +02:00
Robin Stuart
747faf85ed Update test script 2016-08-26 14:03:02 +01:00
Robin Stuart
c11afb644e Add HIBC Codablock option to frontend 2016-08-26 12:34:14 +01:00
Robin Stuart
4e13b0e95d Add framework for Codablock 2016-08-24 19:37:49 +01:00
Robin Stuart
9d1c20201d Add ECI encoding 2016-08-16 12:43:41 +01:00
Robin Stuart
d7fd2dc584 Remove autogenerated makefiles 2016-08-07 20:39:26 +01:00
Robin Stuart
340bcd2833 DotCode: New symbology added and encoding to codewords as set out in Annex F
Does not produce DotCode symbols yet
2016-07-25 22:52:29 +01:00
Robin Stuart
e39d2ff915 Add dot mode (experimental)
First step towards solution for ticket #29
2016-07-12 15:00:25 +01:00
Robin Stuart
9011a96134 Add option to use data for determining filenames in batch mode
As requested by William Buckingham in #23
2016-07-12 12:00:57 +01:00
Robin Stuart
507071cf9c Add CMYK colourspace option for EPS
Requested by Joe Bedard
Ref #22
2016-06-19 14:14:30 +01:00
Robin Stuart
e0240c8e2e Add bold text option for PNG
Fixes #26
Code patch by Christoph Scharenberg
2016-06-19 12:32:49 +01:00
Robin Stuart
4ae120ab35 Han Xin: Add user options (Version and ECC level) 2016-04-30 10:25:16 +01:00
Robin Stuart
0230426b0f Add new symbology: Han Xin Code 2016-04-07 17:13:43 +01:00
Harald Oehlmann
372994d794 Add Data Matrix Rectangular Extension (DMRE) in regular distribution
- add define "DM_DMRE	101" to zint.h as option_3 value
- add option "-dmre" to command line
- add ckeckbutton "Activate DMRE in automatic mode" to qzint
- make dmatrix.c/dmatrix.h aware of option_3 value DM_DMRE and include DMRE in automatic mode
- Use version 2.5 everywere (as already started by Robin)
- common test case for DMRE in automatic mode is numeric input data with 48 digits, which should lead to a symbol of size 8x64
2016-02-27 21:26:52 +01:00
Robin Stuart
858c6264b1 Code format and audit, part 4
Update copyright info, remove unused code, etc.
2016-02-20 12:37:50 +00:00
Robin Stuart
ae335b104a Alter 'dump' option to give hexadecimal output 2016-02-18 23:23:31 +00:00
Robin Stuart
2e59058615 Avoid possible confusion with Windows error code
Bugfix by Oxy Genic
Ref: https://sourceforge.net/p/zint/mailman/message/34857131/
2016-02-17 10:37:20 +00:00
Harald Oehlmann
bfb3964fc0 Ticket #7 Fix compilation warnings (bugs): uninitialzed use. 2016-01-05 12:29:39 +01:00
Harald Oehlmann
994c5adb10 Fix batch bugs: 1) interpretation of former code included in next if shorter, wrong eof detection issed wrong warning 2015-08-18 14:17:59 +02:00
Harald Oehlmann
1c0066baa9 DMRE: Datamatrix with extended rectangular formats 2015-08-18 13:53:55 +02:00
oxygenic
152c7d32af create static link lib (thanks to Maximilian) 2013-01-10 14:49:04 +01:00
oxygenic
8c78216dc1 version number updated 2012-12-31 14:41:42 +01:00
oxygenic
4c45bac1ae reworked 2012-12-30 14:55:05 +01:00
Robin Stuart
29edddcf94 Update version to 2.4.2
Update version number to 2.4.2 and remove reference to broken website.
2011-05-02 07:24:09 +01:00
Robin Stuart
0871eda1c0 Resolve issues with batch processing.
A couple of minor errors prevented the --batch option from working.
The default output filename (out.png) is now set when encoding.
2011-03-08 11:36:10 +00:00
Robin Stuart
bac1bfe09b Correct test scripts.
Remove symbologies no longer supported from test scripts.
2010-12-27 08:51:37 +00:00
Robin Stuart
e2f35eaf39 Refine batch processing.
Try to remove possibility of stack smashing or infey loops.
Add detection of CRLF formatted input files.
2010-12-26 17:09:18 +00:00
Robin Stuart
d6a733d517 Improved batch processing
Improvements to new --batch option on CLI.
Now accepts formatting commands.
2010-12-24 22:09:40 +00:00
Robin Stuart
bbabd40a5c Add batch option to command line
Made a start on adding batch capability to the command line.
Will also accept batch input from stdin.
2010-12-24 10:55:08 +00:00
Robin Stuart
1c540a6382 Added smalltext option
Added an option which allows use of reduced size text.
Reduced size font information added to font.h.
2010-12-19 22:23:59 +00:00
Robin Stuart
e09ce1aba2 Add manpage
Debian requires a manpage. Here it is!
2010-10-18 22:14:00 +01:00
Robin Stuart
04972801d1 Add reader init option to frontend
Add --init option to frontend.
2010-10-18 21:08:29 +01:00
hooper
93c678e1cf Performance improvement
Simplifies the QR code and improves performance
Adds a new --dump option to output binary to stdout
With thanks to Ismael Luceno
2010-09-12 14:52:44 +01:00
Robin Stuart
81b4902c95 Removed old Data Matrix standards
Removed Data Matrix ECC 000 to 140 because (a) they don't work properly and (b) nobody uses them anyway!
Also removed some ghosts of Codablock-F - there are some more to find.
2010-06-16 09:00:31 +01:00
Robin Stuart
e3f3dddbf0 Add escape codes to CLI
Escape codes can now be used from the CLI - such as /n for 0x0a
2010-06-13 12:03:40 +01:00
hooper114
6b68a42ccc Remove Codablock test 2010-05-23 08:17:46 +00:00
hooper114
545ff663d3 Update version to 2.3.2 2010-05-23 07:18:15 +00:00
hooper114
93d65a910c Various minor bugfixes 2010-05-16 21:58:18 +00:00
hooper114
7c9dee39e6 Re-adjustment of Makefiles 2010-03-04 07:38:47 +00:00
hooper114
2e001b160d Reinstated Makefiles and updated readme. 2010-03-01 22:34:35 +00:00
hooper114
190360ea6a Add --notext option. 2010-02-27 09:58:15 +00:00
hooper114
1d9cbbc00d *** empty log message *** 2010-01-28 18:00:52 +00:00
hooper114
f6dc4dfc07 Remove Codablock-F 2010-01-28 17:55:59 +00:00
hooper114
92239de584 New icon 2009-11-22 15:46:15 +00:00
hooper114
dcefa4eee1 Structural changes and updates from tgotic 2009-11-22 15:38:15 +00:00
hooper114
1695eae7dd Structural changes and updates from tgotic 2009-11-17 22:36:04 +00:00
hooper114
35cacaef67 Update version number to 2.3.0 2009-11-08 22:17:11 +00:00
hooper114
13a8a80136 Update to HIBC allows Aztec Code encoding 2009-11-03 10:54:21 +00:00
hooper114
1ff9c0d472 Add corrections from tgotic 2009-10-06 19:03:00 +00:00
hooper114
de9984a346 Update version numbering to 2.2.2 2009-09-29 11:15:16 +00:00
hooper114
04b9a99241 API overhaul part 1: removal of nullchar 2009-09-29 09:45:46 +00:00
hooper114
16a86fc54a Add option to input data directly from file 2009-08-20 13:20:59 +00:00
hooper114
0cfcc41bb4 Update version to 2.1.1 2009-08-06 08:36:01 +00:00
hooper114
5b52afdc8a Only need one copy of license 2009-08-06 08:14:49 +00:00
hooper114
f72de2c575 Update test scripts to include Code One 2009-07-16 15:23:50 +00:00
hooper114
d0f4858762 Add --directsvg option to menu 2009-07-13 19:44:50 +00:00
hooper114
5192d27269 Add Code One to option list 2009-07-13 19:25:23 +00:00
hooper114
31ffc6e644 Update version number to 2.2 2009-07-13 19:03:28 +00:00
hooper114
b1ca793638 Update -t option so that it fits in a DOS window 2009-06-19 18:30:47 +00:00
hooper114
10ec8ebf20 Update version number to 2.1.4 2009-06-19 18:28:38 +00:00
hooper114
805e80e0bb Improved test scripts 2009-06-11 20:36:40 +00:00
hooper114
def19e9811 Merge Windows platform patches by tgotic 2009-06-02 20:28:54 +00:00
hooper114
b65cd26527 Merge Windows platform patches by tgotic 2009-06-02 20:23:38 +00:00
taipanromania
8398eff997 better debian support
added qt frontend to debian packages
2009-05-20 08:33:01 +00:00
hooper114
e4837ecaac Update version number 2009-05-19 18:11:00 +00:00
hooper114
c47744c019 Add new symbologies 2009-05-17 09:28:16 +00:00
hooper114
642b67d240 Add new symbologies to table 2009-05-16 14:36:33 +00:00
hooper114
de08d8a885 Add Japanese Post Barcode 2009-03-14 11:04:52 +00:00
hooper114
4d2f889f30 Update version number 2009-03-02 08:52:13 +00:00
hooper114
94038468be Add --directsvg option 2009-02-22 17:21:11 +00:00
hooper114
de4f39782f Improved Kanji support - Now converts from Unicode to Shift JIS 2009-02-22 14:13:32 +00:00
hooper114
2262c365c4 Add SVG testing 2009-02-21 23:20:41 +00:00
hooper114
0feb6152d6 Update version info 2009-02-10 23:35:14 +00:00
hooper114
8dbd317bbe Update type table (add HIBC) 2009-02-01 23:01:15 +00:00
hooper114
099dd11fcc Add HIBC support 2009-01-31 22:03:46 +00:00
hooper114
0a6961506f Add GS1 data 2009-01-31 16:25:25 +00:00
hooper114
a388575c8d typo-- 2009-01-24 22:01:41 +00:00
hooper114
7c30733116 Add GS1 option 2009-01-15 18:35:03 +00:00
hooper114
e246efe727 Corrected GS1 data 2009-01-11 07:43:14 +00:00
hooper114
d2d4e30e32 No longer needed 2009-01-08 08:55:58 +00:00
hooper114
d6df698918 NULL character support 2009-01-02 21:09:16 +00:00
hooper114
db7454f591 Add scale option and remove frontend unicode handling 2008-12-24 21:31:07 +00:00
hooper114
4a0b35148d Update version number 2008-12-24 21:30:12 +00:00
hooper114
ef80d11beb Allow output to stdout 2008-12-21 12:17:14 +00:00
hooper114
db6757ab91 Make scaling available at front end 2008-12-21 11:29:15 +00:00
hooper114
4d9aefec94 Update symbology table 2008-12-07 20:12:57 +00:00
hooper114
e6ace8a855 Add Korea Post 2008-12-07 20:11:50 +00:00
hooper114
88cc19bab1 Change of e-mail address 2008-11-17 08:47:42 +00:00
hooper114
49a14d9d73 Added Aztec Runes 2008-11-09 10:06:05 +00:00
hooper114
844dfdebef Updated error handling 2008-10-05 05:51:58 +00:00
taipanromania
b1b43da367 warnings -- 2008-10-03 09:26:27 +00:00
hooper114
afd0ca7cfd Reduced warnings 2008-09-30 15:13:35 +00:00
taipanromania
020843b430 enable all warnings 2008-09-28 11:19:33 +00:00
taipanromania
3bb2c46210 memleak -- 2008-09-27 21:15:38 +00:00
hooper114
c91000ed91 Added UTF-8 conversion. 2008-09-26 18:01:20 +00:00
taipanromania
e5309dd096 better windows support 2008-09-26 12:11:43 +00:00
taipanromania
9b393e39b8 bump version to 1.99.1 (2.0 beta 1) 2008-09-24 09:44:16 +00:00
taipanromania
67c2c477ae rename zint_frontend back to zint 2008-09-24 08:59:39 +00:00