Commit Graph

1577 Commits

Author SHA1 Message Date
Robin Stuart
08e51cf5bb Separate PNG and BMP file handling routines and create common framework to allow addition of more output file formats 2016-07-19 23:02:39 +01:00
Robin Stuart
6dcc6af817 Make bitmap size available to API 2016-07-18 20:22:56 +01:00
Robin Stuart
75384ca009 Add bitmap (BMP) file support
And upgrade symbol->bitmap structure to reflect BMP format
Based on work by Adrian Keller
2016-07-18 20:14:56 +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
Harald Oehlmann
221bfbf62d Added HanXin to qt4 and vc6 cmdline make files 2016-07-04 13:53:52 +02:00
Harald Oehlmann
727cd147d7 Included TEA and Androwish changes by Christian Werner from:
http://www.androwish.org/index.html/info/9fb57bb78476312a
2016-07-04 13:46:30 +02:00
Harald Oehlmann
188cfcdd1f Compile MS-VC6 compatible: only define variables after "{" or at top 2016-07-04 12:08:08 +02:00
Robin Stuart
caa4bb913f Don't add descriptor to EPS and SVG if text is supressed 2016-06-19 14:29:39 +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
d2774af120 Correctly format EAN and UPC without text
EAN and UPC should have a standard compliant format even without text
Fixes #27
2016-06-19 11:59:09 +01:00
Robin Stuart
c709b08da5 Merge branch 'hanxin'
Add new symbology Han Xin according to AIMD-015:2010
Implementation may change when this becomes an ISO standard.
2016-06-19 09:14:52 +01:00
Robin Stuart
55b33cfb88 Han Xin: Comment possible errors in AIMD-015 2016-06-19 09:07:50 +01:00
Harald Oehlmann
5479526f38 Ticket #25: gitignore QtCreator user files (CMakeLists.txt.user*) 2016-05-11 17:22:48 +02:00
Robin Stuart
032dee1e0e Han Xin: Add Chinese character (GB18030) modes 2016-05-01 22:10:50 +01:00
Robin Stuart
044b827fff Set default start mode (remove compiler warning) 2016-04-30 14:22:23 +01:00
Robin Stuart
45ce52df25 Display smalltext correctly
Bugfix by C. Scharenberg (Ticket #21)
2016-04-30 12:35:26 +01:00
Robin Stuart
4ae120ab35 Han Xin: Add user options (Version and ECC level) 2016-04-30 10:25:16 +01:00
Robin Stuart
8eb5525c8c Han Xin: Add function information 2016-04-23 15:26:51 +01:00
Robin Stuart
4c7fb647d0 Han Xin: Evaluate and apply bitmask 2016-04-20 20:44:59 +01:00
Robin Stuart
fd0f041f19 Han Xin: Add error correction and codeword interlace 2016-04-16 12:57:45 +01:00
Robin Stuart
7831bda722 Han Xin: Select symbol size and divide binary data into codewords 2016-04-10 20:36:57 +01:00
Robin Stuart
64396488e8 Han Xin: Plot finder and alignment patterns 2016-04-09 17:01:21 +01:00
Robin Stuart
a5440244c4 Han Xin - Add Numeric mode, Text mode and Binary byte mode encoding 2016-04-07 22:30:37 +01:00
Robin Stuart
0230426b0f Add new symbology: Han Xin Code 2016-04-07 17:13:43 +01:00
Harald Oehlmann
0fcf4cc1ab Ticket #18: add some const. 2016-04-06 22:55:14 +02:00
Robin Stuart
5ec95153a0 Populate map for Aztec codes
Ref #17 from hoky24
2016-04-06 09:35:36 +01:00
Harald Oehlmann
90407bffce Removed include malloc.h for all non-Windows so FreeBSD compiles.
Removed include of sys/malloc.h for APPLE, probably not used.
Ticket #18
2016-04-03 22:33:01 +02:00
Robin Stuart
f17f10fa7c Replace local concat() and roundup() with C library defaults
Patch by Oxy (Michael) <virtual_worlds@gmx.de>
Ref: https://sourceforge.net/p/zint/mailman/message/34896811/
2016-03-02 21:12:38 +00:00
Harald Oehlmann
0a034fd5ea Re-replace ceilf() by ceil().
ceilf is better but is C99 which is not supported by my MS-VC6 cpmpiler.
I also suppose, we loose friends if we will rely on C99 features.
If someone has a solution to test if ceilf() exists and use it in this case, I have no troubble, but we need a fall-back.
2016-03-02 11:05:22 +01:00
Robin Stuart
4fb0bb96d9 Bugfix: buffer overrun and mode switch in general field
Ref ticket #15
Bugfix by Vitaly
2016-02-29 20:54:20 +00:00
Robin Stuart
5d9ce6f684 Improvements from Oxy patch
Original email reads...
It does not contain any fundamental changes or new functions but a lot of improvements which I have done over time (added several const/static specifiers, replaced repeated if-conditions by if-else, removed some warnings).
2016-02-29 19:42:32 +00:00
Harald Oehlmann
922ee489a9 Managed to compile qzint with png save support included 2016-02-28 22:18:58 +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
Harald Oehlmann
0d7ee10ef5 Avoid type definition outside of blocks to be VC6 compatible. 2016-02-24 08:42:15 +01:00
Robin Stuart
7d6050bd3b Allocate memory in Visual Studio friendly way 2016-02-23 19:33:21 +00:00
Robin Stuart
9372aa4e48 Remove int declarations in for loops for Visual Studio 2016-02-23 19:21:48 +00:00
Robin Stuart
cc69851da7 Update developer info 2016-02-22 19:07:09 +00:00
Robin Stuart
65ce7ecc82 Remove dead code 2016-02-20 14:47:11 +00:00
Robin Stuart
6b0b69eb4f Simplify font.h 2016-02-20 14:38:40 +00: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
660d8148bd Code format and audit, part 3
Update copyright info, remove unused code, etc.
2016-02-20 11:29:19 +00:00
Robin Stuart
8a88ffdd7b Code format and audit, part 2
Update copyright info, remove unused code, etc.
2016-02-20 10:50:15 +00:00
Robin Stuart
77cdf77690 Code format and audit, part 1
Update copyright info, remove unused code, etc.
2016-02-20 09:38:03 +00:00
Robin Stuart
ae335b104a Alter 'dump' option to give hexadecimal output 2016-02-18 23:23:31 +00:00
Robin Stuart
653105b81d Improved data compression algorithm for QR Code 2016-02-18 12:17:50 +00:00
Robin Stuart
001a0a88d9 Revised data mask scoring
Revision of 4 tests from Table 11, reflecting clarification given in ISO/IEC 18004:2015
2016-02-17 20:31:50 +00:00
Robin Stuart
97a7afa246 Update GS1 Composite name
Code now checked against ISO/IEC 24723:2010
2016-02-17 14:33:17 +00:00
Robin Stuart
0f2abd1c64 Update GS1 DataBar names
To reflect changes made in 2011 revision of ISO/IEC 24724
2016-02-17 13:01:56 +00:00