summaryrefslogtreecommitdiff
path: root/src/bin/jp2
AgeCommit message (Collapse)Author
2016-09-26Remove typos from comments and man pagesMathieu Malaterre
2016-09-22Fix PNM file reading (#847)Matthieu Darbois
Malformed PNM file could cause a crash in opj_compress. Checks were added to prevent this. Fixes #843 Updates #440
2016-09-20Merge pull request #834 from trylab/issue833Antonin Descampe
Fix issue 833.
2016-09-14Fix some warnings (#838)Matthieu Darbois
Fix warnings introduced by uclouvain/openjpeg#786
2016-09-13Fix issue 833.trylab
Add some overflow check operations.
2016-05-25opj_decompress: use clock_gettime() instead of getrusage() so as to get the ↵Even Rouault
time spent, and not to the total CPU time
2016-05-25opj_decompress: add a -threads <num_threads> optionEven Rouault
2016-05-02Use lowercase for cmake commands consistenlyJulien Malik
Inspired from https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt This needs vim 7.3 and fails with vim 7.4 This also fixes a number of : - missing empty line at end of files - useless space at end of lines
2016-04-30Fix bad call to fclose with NULL pointermayeut
2016-04-30Fix Out-Of-Bounds Read in sycc42x_to_rgb function (#745)Matthieu Darbois
42x Images with an odd x0/y0 lead to subsampled component starting at the 2nd column/line. That is offset = comp->dx * comp->x0 - image->x0 = 1 Fix #726
2016-04-29cppcheck fix for openjp2 (#740)julienmalik
2016-04-28Fix implicit float-to-bool conversions (#752)julienmalik
2016-04-23Allow to write 3/5/7/9/11/13/15 bpp TIF filesmayeut
Update uclouvain/openjpeg#729
2016-04-23Allow to read 3/5/7/9/11/13/15 bpp TIF filesmayeut
2016-04-09Remove dead code in opj_dumpJulien Malik
2015-11-01opj_decompress: Update error messageStefan Weil
The png format is also supported, so add it to the message. Remove also the unneeded blank character before \n. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-01Fix compiler warningsmayeut
2015-11-01convert: Fix compiler warningsStefan Weil
Fix this and other similar compiler warnings: src/bin/jp2/convert.c: In function ‘tga_readheader’: src/bin/jp2/convert.c:595:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] cmap_len = get_ushort(*(unsigned short*)(&tga[5])); Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-11-01convert: Remove unneeded type castsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-18Fix format strings and unneeded assignmentStefan Weil
The static code analyzer cppcheck warns about unsigned integers which use "%d" in the format string. It also warns about an unneeded assignment. Fix both issues. Signed-off-by: Stefan Weil <sw@weilnetz.de>
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-29Fix up-scaling bit depthmayeut
Fixes #609
2015-09-29Fix typos in comments and stringStefan Weil
Most typos were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-09-25Provide safer string copy than strncpymayeut
As per @boxerab suggestion in commit b9ca882749597e4943e609daba1d3c27694fe2ff
2015-09-25Fix resource leakmayeut
2015-09-25Fix resource leaks & unchecked resource allocationsmayeut
2015-09-24Fix some resource leaksmayeut
2015-09-23Use buffer on stack to read TGA headermayeut
Fixes a potential leak Fixes #601
2015-09-23Fix warning in rle4 decodingmayeut
2015-09-13Correct leak in color_cielab_to_rgbmayeut
2015-08-23Fix some UBSan warningsmayeut
2015-08-21TIFF can output CMYKmayeut
2015-08-21Merge pull request #559 from szukw000/cmyk-cielab-esyccMatthieu Darbois
Add support for CIELab, EYCC and CMYK
2015-07-30Defines three new functionsszukw000
Declares three new functions Calls the three new functions Collects data for CIELab, sets the color_space for EYCC and CMYK
2015-07-31Small correction + attempt to understand git-openjpeg workflowak-dxdy
2015-07-26Remove some warnings when buildingmayeut
Update #442
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-25Remove 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
2015-07-19Correct error message for invalid TIFF inputmayeut
2015-07-18Add headers to CMake targetmayeut
2015-07-18Add tests for TIFF input with Alpha channelmayeut
Update uclouvain/openjpeg#322
2015-07-16Fix build warnings in converttif.cmayeut
2015-07-16Update imagetotif to support more output TIF formatsmayeut
Update uclouvain/openjpeg#322 Update uclouvain/openjpeg#264
2015-07-14Update tiftoimage to support more input TIF formatsmayeut
Update uclouvain/openjpeg#322 Update uclouvain/openjpeg#264
2015-07-11Add option to force component splitting in imagetopnmmayeut
Update uclouvain/openjpeg#289