Commit graph

15 commits

Author SHA1 Message Date
Daniel Beer
ffc2f9b68a dbgutil: fix double-free on error in jpeg_finish_decompress. 2017-05-31 17:52:26 +12:00
Daniel Beer
ab341691c9 Add support for ECI decoding.
ECI values are decoded and stored in the eci field of struct quirc_data.
Constants of the form QUIRC_ECI_* are defined in quirc.h.
2016-09-23 09:50:59 +12:00
Daniel Beer
a8291391ec dbgutil: print unknown data type indicators safely. 2016-09-23 09:40:56 +12:00
Daniel Beer
08fe9f7e0f Fall back to set_strip() on older libpng versions.
Latest Debian release right now packages only 1.2.50.
2016-09-06 08:08:58 +12:00
Dmitrij D. Czarkoff
8decf20d4f Strip alpha channel from PNG images with tRNS chunk
When PNG transformations are set up, tRNS chunk is converted to alpha channel
early in the process.  Later the decision whether to strip alpha channel or not
is made upon checking (color_type & PNG_COLOR_MASK_ALPHA).  Thus alpha channel
created by tRNS chunk conversion does not get stripped.
2016-08-15 15:39:18 +02:00
Dmitrij D. Czarkoff
2e3e80c1ee Use more accurate bit depth reduction for PNG images 2016-08-15 14:32:17 +02:00
Dmitrij D. Czarkoff
894e8c8b2d Replaced remaining instance of png_infopp_NULL 2016-08-11 01:21:45 +02:00
Dmitrij D. Czarkoff
176ba28362 Fix compatibility with newer libpng 2016-08-11 00:02:38 +02:00
Daniel Beer
d968f0ae33 Merge pull request #11 from kAworu/display-human-readable-data-type
dump_data: display a human readable Data type.
2016-07-20 08:24:06 +12:00
Alexandre Perrin
d78123da72 dump_data: display a human readable Data type. 2016-07-18 14:27:17 +02:00
Alexandre Perrin
443bb5576f PNG_COLOR_TYPE_PALETTE support for inspect and qrtest. 2016-07-18 14:23:08 +02:00
Alexandre Perrin
09cc95b989 check_if_png: clarify comments.
Before this patch check_if_png() comment was kind of misleading because
it talked about the behaviour of png_sig_cmp() which isn't the same as
check_if_png().
2016-07-14 16:04:26 +02:00
Daniel Beer
e8005d43c6 dbgutil.c: use C89-compatible variable declarations. 2016-07-13 08:54:52 +12:00
Alexandre Perrin
549f5b2c4d png support for inspect and qrtest. 2016-07-12 09:34:11 +02:00
Daniel Beer
a3142bc6b4 Initial commit: version 1.0. 2012-05-04 12:58:42 +12:00