From c4d4158bd87af88667369ef35169d3deb425d6ee Mon Sep 17 00:00:00 2001 From: catree Date: Wed, 7 Dec 2016 18:08:18 +0100 Subject: [PATCH] Add imread documentation note when EXIF orientation is embedded. --- modules/imgcodecs/include/opencv2/imgcodecs.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/imgcodecs/include/opencv2/imgcodecs.hpp b/modules/imgcodecs/include/opencv2/imgcodecs.hpp index 0b9cafa278..6359de6e51 100644 --- a/modules/imgcodecs/include/opencv2/imgcodecs.hpp +++ b/modules/imgcodecs/include/opencv2/imgcodecs.hpp @@ -158,6 +158,8 @@ Currently, the following file formats are supported: then [GDAL](http://www.gdal.org) driver will be used in order to decode the image by supporting the following formats: [Raster](http://www.gdal.org/formats_list.html), [Vector](http://www.gdal.org/ogr_formats.html). +- If EXIF information are embedded in the image file, the EXIF orientation will be taken into account + and thus the image will be rotated accordingly except if the flag @ref IMREAD_IGNORE_ORIENTATION is passed. @param filename Name of file to be loaded. @param flags Flag that can take values of cv::ImreadModes */