summaryrefslogtreecommitdiff
path: root/src/bin/jp2/convertpng.c
AgeCommit message (Collapse)Author
2021-12-05Fix some typos (found by codespell)Stefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-10-21API: deprecate 'bpp' member in favor of 'prec'Even Rouault
in opj_image_comp and opj_image_comptparm structures. bpp was redundant with prec, and almost never set by the library, except by opj_image_create(). This change should hopefully not impact existing, working, users of the API, which should already have used prec to get things working. Fixes #1379
2021-06-07Fix various compiler warningsEven Rouault
2020-11-30pngtoimage(): fix wrong computation of x1,y1 if -d option is used, that ↵Even Rouault
would result in a heap buffer overflow (fixes #1284)
2020-04-01opj_decompress: add sanity checks to avoid segfault in case of decoding errorEven Rouault
Prevent crashes like: opj_decompress -i 0722_5-1_2019.jp2 -o out.ppm -r 4 -t 0 where 0722_5-1_2019.jp2 is https://drive.google.com/file/d/1ZxOUZg2-FKjYwa257VFLMpTXRWxEoP0a/view?usp=sharing
2017-05-09Reformat whole codebase with astyle.options (#128)Even Rouault
2016-04-29cppcheck fix for openjp2 (#740)julienmalik
2015-10-07Fix warnings for C++Stefan Weil
g++ complains about invalid conversions like these ones: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] error: invalid conversion from ‘void*’ to ‘opj_precision* {aka opj_prec*}’ [-fpermissive] Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-09-25Fix resource leaks & unchecked resource allocationsmayeut
2015-07-26Remove some warnings when buildingmayeut
Update #442
2015-07-26Update convert for PNG outputmayeut
Update uclouvain/openjpeg#264
2015-07-26Remove some warnings when buildingmayeut
Update #442
2015-07-26Remove some warnings when buildingmayeut
Update #442
2015-07-24Remove some warnings when buildingmayeut
Update #442
2015-07-19Update PNG supportmayeut
Only input modified for now Update uclouvain/openjpeg#536 Update uclouvain/openjpeg#264