- 06 Sep, 2018 1 commit
-
-
Alexander Alekhin authored
-
- 31 Aug, 2018 1 commit
-
-
Alexander Alekhin authored
-
- 30 Aug, 2018 1 commit
-
-
Alexander Alekhin authored
- don't reallocate passed 'img' (test fixed - must use IMREAD_UNCHANGED / IMREAD_ANYCOLOR) - avoid memory DDOS - avoid reading of whole file during header processing - avoid data access after allocated buffer during header processing (missing checks) - use WebPFree() to free allocated buffers (libwebp >= 0.5.0) - drop unused & undefined `.close()` method - added checks for channels >= 5 in encoder
-
- 13 Aug, 2018 1 commit
-
-
pasbi authored
* created new decoder and encoder for PFM pfm file format stores binary RGB or grayscale float images. * added test for pfm codec * replaced large with short licence header * little/big-endian-check is now compile time * fixed width/height confusion, improved big/little endian recognition, fixed scaling issue and Improved signature check * adapted tests to handle float images well * removed data-dependency: lena.pfm the lena image is now loaded is pam and converted to pfm. * fixed bug in endianess detection macro * Added endianess detection for android and win * removed fancy endianess detection endianess detection will be implemented in cmake scripts soonish. * fixed minor warnings * fixed stupid elif defined bug * silenced some implicit cast warnings * replaced std::to_string with std::stringstream solution std::to_string variant did not build on android. * replaced new endianess macros with existing ones * improved readability
-
- 22 May, 2018 2 commits
-
-
Alexander Enaldiev authored
* imgcodecs cmake: the option to customize supported formats list (WITH_IMGCODEC_HDR, WITH_IMGCODEC_SUNRASTER, WITH_IMGCODEC_PXM) * imgcodecs: fixes - fixed CMake scripts (=OFF doesn't really work) - restore dropped GDCM block - added _IMGCODEC_ prefix - fixed tests - include PAM format under WITH_IMGCODEC_PXM option
-
Alexander Alekhin authored
-
- 24 Apr, 2018 1 commit
-
-
Alexander Alekhin authored
-
- 29 Mar, 2018 1 commit
-
-
RAJKIRAN NATARAJAN authored
* fix cv::imwrite to allow cv::UMat and vectors of it to be written * cv::imwrite failure handling improvements * Unit test for regression testing imwrite support for and fix whitespace
-
- 28 Mar, 2018 1 commit
-
-
Alexander Alekhin authored
-
- 20 Feb, 2018 1 commit
-
-
Rostislav Vasilikhin authored
-
- 28 Dec, 2017 1 commit
-
-
Vinay Sharma authored
* added write as pbm * add tests for pbm * imgcodecs: PBM support - drop additional PBM parameters - write: fix P1/P4 mode (no maxval 255 value after width/height) - write: invert values for P1/P4 - write: P1: compact ASCII mode (no spaces) - simplify pbm test - drop .pxm extension (http://netpbm.sourceforge.net/doc/ doesn't know such extension)
-
- 13 Dec, 2017 1 commit
-
-
Vitaly Tuzov authored
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. (#9468)
-
- 11 Dec, 2017 1 commit
-
-
Maksim Shabunin authored
-
- 24 Sep, 2017 1 commit
-
-
Alexander Alekhin authored
Drop code under *undefined* HAVE_TIFF (violates several policies, like a way to turn off tiff support)
-
- 16 Aug, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 31 Jul, 2017 1 commit
-
-
Jeremy Maitin-Shepard authored
Previously, the return value of fwrite and fclose were not properly checked, leading to possible silent truncation of the data if writing failed, e.g. due to lack of disk space. Fixes issue #9251.
-
- 26 Jun, 2017 1 commit
-
-
Alexander Alekhin authored
-
- 25 Apr, 2017 1 commit
-
-
Brian Armstrong authored
-
- 14 Apr, 2017 1 commit
-
-
brian-armstrong-discord authored
autorotate in-memory jpegs (#8492) * autorotate in-memory jpegs * correct indentation (4 spaces) * imgcodecs: don't apply EXIF rotation for unloaded images * videoio: don't try to rotate MJPEG stream * imgcodecs: ByteStreamBuffer::seekoff support all seek "dir" * imgcodecs: fix condition: "off == egptr() - eback()" is valid offset
-
- 10 Nov, 2016 2 commits
-
-
Arkadiusz Raj authored
-
Arkadiusz Raj authored
-
- 09 Nov, 2016 1 commit
-
-
Arkadiusz Raj authored
-
- 06 Sep, 2016 1 commit
-
-
Dimitrios Katsaros authored
This patch implements the PAM image format as defined at: http://netpbm.sourceforge.net/doc/pam.html The PAM format provides a generic means for storing 2 dimensional information. This is useful for opencv since there are cases where data gets translated into non standardized formats, which makes it difficult to store and load this information.
-
- 16 Aug, 2016 1 commit
-
-
Patrick Spettel authored
The TiffDecoder keeps an open file handle. As a consequence the file cannot be removed before the TiffDecoder closes the file.
-
- 14 Jul, 2016 1 commit
-
-
thierry authored
-
- 08 Jul, 2016 2 commits
-
-
Maksim Shabunin authored
- renamed source files - guard the contents - always include
-
look4pritam authored
-
- 18 Jan, 2016 1 commit
-
-
thierry authored
-
- 14 Oct, 2015 1 commit
-
-
edgarriba authored
-
- 02 Oct, 2015 1 commit
-
-
Suleyman TURKMEN authored
-
- 27 Sep, 2015 1 commit
-
-
Suleyman TURKMEN authored
-
- 19 Jul, 2015 1 commit
-
-
Suleyman TURKMEN authored
by this new function we can set libjpeg "scale_denom" parameter and load jpeg images scaled 1/2 - 1/4 - 1/8 other image formats resized after loading
-
- 04 Apr, 2015 1 commit
-
-
Ashod Nakashian authored
Jpeg2k color to greyscale conversion on non-Windows is done post decoding because system libjasper segfaults when decoding color images as greyscale.
-
- 21 Jan, 2015 1 commit
-
-
Maksim Shabunin authored
-
- 03 Jan, 2015 1 commit
-
-
Ashod Nakashian authored
-
- 27 Dec, 2014 1 commit
-
-
Julien Nabet authored
(performance) Possible inefficient checking for 'lmap' emptiness (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? (style) Array index '<xxx>' is used before limits check
-
- 13 Aug, 2014 1 commit
-
-
Adil Ibragimov authored
1. someMatrix.data -> someMatrix.prt() 2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex ) 3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>() 4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
-
- 14 Jul, 2014 1 commit
-
-
vbystricky authored
-
- 07 Jul, 2014 1 commit
-
-
vbystricky authored
-
- 01 Jul, 2014 1 commit
-
-
Marvin Smith authored
-