Skip to content

Commit

Permalink
Merge pull request opencv#16535 from jshiwam:exifbugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Feb 28, 2020
2 parents 1bc607e + 1f48940 commit 7ffab23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/imgcodecs/src/exif.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ enum ImageOrientation
* Usage example for getting the orientation of the image:
*
* @code
* ExifReader reader(fileName);
* std::ifstream stream(filename,std::ios_base::in | std::ios_base::binary);
* ExifReader reader(stream);
* if( reader.parse() )
* {
* int orientation = reader.getTag(Orientation).field_u16;
Expand Down

0 comments on commit 7ffab23

Please sign in to comment.