mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge pull request #26181 from sturkmen72:png_exif_test
Enable PNG exif orientation test
This commit is contained in:
@@ -83,6 +83,9 @@ static Size validateInputImageSize(const Size& size)
|
||||
|
||||
static inline int calcType(int type, int flags)
|
||||
{
|
||||
if ( (flags & (IMREAD_COLOR | IMREAD_ANYCOLOR | IMREAD_ANYDEPTH)) == (IMREAD_COLOR | IMREAD_ANYCOLOR | IMREAD_ANYDEPTH))
|
||||
return type;
|
||||
|
||||
if( (flags & IMREAD_LOAD_GDAL) != IMREAD_LOAD_GDAL && flags != IMREAD_UNCHANGED )
|
||||
{
|
||||
if( (flags & IMREAD_ANYDEPTH) == 0 )
|
||||
|
||||
Reference in New Issue
Block a user