Commit Graph

468 Commits

Author SHA1 Message Date
Robin Stuart
3cf8a142b8 Bugfix: Ouput binding in raster images
Also: tidy up use of output_options
2016-08-26 15:13:40 +01:00
Robin Stuart
c6a68dd605 bugfix: Corruption of output_options data 2016-08-26 12:15:54 +01:00
Robin Stuart
542ec7c7a5 When libpng is not found, default to GIF output 2016-08-26 11:44:02 +01:00
Robin Stuart
085ec8477c Add framework for Codablock 2016-08-24 19:39:39 +01:00
Robin Stuart
4e13b0e95d Add framework for Codablock 2016-08-24 19:37:49 +01:00
Harald Oehlmann
b527245a5f Merge branch 'master' of ssh://git.code.sf.net/p/zint/code 2016-08-22 19:08:39 +02:00
Harald Oehlmann
50a48c1294 Silence signed compiler warnings 2016-08-22 19:08:00 +02:00
Robin Stuart
94733dd5f5 Bugfix: increase ECC if there is capacity
Bug found by Michael
2016-08-22 18:07:27 +01:00
Harald Oehlmann
3893f6f158 Make compile with MSVC6++ 2016-08-22 18:58:32 +02:00
Robin Stuart
eedb4c638a Expand symbol memory to allow biggest Han Xin without crashing 2016-08-21 21:58:38 +01:00
Robin Stuart
2e11b5f8d3 Bugfix: Crash on setting option_2 for DotCode
Bug report by Michael
2016-08-19 18:22:16 +01:00
Robin Stuart
3b366bbbd2 Stop crashing with large DotCode symbols 2016-08-17 17:22:31 +01:00
Robin Stuart
9d1c20201d Add ECI encoding 2016-08-16 12:43:41 +01:00
Robin Stuart
bcad6504b5 Restrict dotty mode to matrix symbols 2016-08-12 19:30:46 +01:00
Robin Stuart
498fd4151d Add dot (circle) plotting for raster (PNG/GIF/PCX/BMP) images 2016-08-08 23:18:55 +01:00
Robin Stuart
30b8bebf82 Remove compiler warnings 2016-08-07 21:00:27 +01:00
Robin Stuart
d7fd2dc584 Remove autogenerated makefiles 2016-08-07 20:39:26 +01:00
Robin Stuart
8029dec9c7 Merge Dotcode 2016-08-07 20:28:56 +01:00
Robin Stuart
674a491a56 Dotcode: Add custom height setting and format code 2016-08-07 20:11:51 +01:00
Robin Stuart
0c5f9191e6 DotCode: Place data in symbol and evaluate bitmask 2016-08-06 22:03:36 +01:00
Harald Oehlmann
08c88e85d2 Added gif output 2016-07-28 20:58:33 +02:00
Harald Oehlmann
3939a1ae54 Make compile with MSVC6 (no C99 compatibility) 2016-07-28 10:32:46 +02:00
Robin Stuart
70fb17fcb4 DotCode: Calculate masks and Reed-Solomon error bytes 2016-07-27 12:18:53 +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
804ca24aca Correct bizarre use of isX12()
Bug spotted by Milton Neal
2016-07-25 22:46:26 +01:00
Robin Stuart
118caf10ea Silence debug output 2016-07-23 19:22:12 +01:00
Robin Stuart
b968073d71 --typo 2016-07-23 19:17:53 +01:00
Robin Stuart
7eaa82bfa1 Improved PCX algorithm, uses less memory 2016-07-23 19:14:57 +01:00
Robin Stuart
babeaec41d Add ZSoft PCX image file output 2016-07-23 15:08:55 +01:00
Robin Stuart
7e3a56815f Correct header info 2016-07-22 17:21:40 +01:00
Robin Stuart
c35378acc5 Bugfix: EDIFACT unlatch character not needed for all symbols
Ref: ISO 16022 para 5.2.8.2
Bug reported by Daniel Yang
2016-07-22 16:42:39 +01:00
Robin Stuart
8f7cc8d8b1 Remove error in file descriptor 2016-07-19 23:09:08 +01:00
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
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
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