Wrong orientation of a photo in quick view (EXIF Orientation) |
||||||||||
Issue descriptionChrome Version: 56.0.2924.53 Chrome OS Version: 9000.50.0 Chrome OS Platform: Chromebook Pixel Network info: not relevant Also confirmed with 57.0.2970.0 / 9148.0.0. Steps To Reproduce: (1) Prepare an image file with EXIF orientation != 1. (2) Open the folder in the Files app. (3) Choose the image file. (4) Hit space key to see the image in quick view. (Optionally, compare it with the one in the thumbnail or in Gallery app.) Expected Result: Quick view shows the image in the right orientation. Actual Result: The image appears wrongly rotated, without EXIF orientation applied. For example, upside left. How frequently does this problem reproduce? (Always, sometimes, hard to reproduce?) Always What is the impact to the user, and is there a workaround? If so, what is it? This will affect all image files that satisfies the condition. Typically, such files can be generated by taking picture in portrait orientation using certain models of digital still cameras. As a workaround, Gallery app can be used to view an image.
,
Jan 19 2017
Quick view controller should apply transoform in metadata.
,
Jan 19 2017
,
Jan 23 2017
,
Jan 23 2017
,
Feb 21 2017
There are 2 cases. 1. If a file is in Google Drive, data from Google Drive is used. Drive gives wrong orientation for some EXIF orientation types (2, 4, 5 and 7). The client is WAI for this case. 2. If a file is local (Downloads, USB disk), it's loaded via createObjectURL. It seems to strip the EXIF information. I haven't found the exact document about this behavior, but I found some articles reporting relevant problems. http://stackoverflow.com/questions/19463126/how-to-draw-photo-with-correct-orientation-in-canvas-after-capture-photo-by-usin I think we can load thumbnail by ThumbnailLoader / ImageLoader if it doesn't affect the performance.
,
Feb 22 2017
FYI https://drafts.csswg.org/css-images-3/#the-image-orientation Browsers should show an image in img element without applying EXIF orientation in the file, unless "image-orientation: from-image" is specified. The attribute is not implemented in Chrome yet. https://bugs.chromium.org/p/chromium/issues/detail?id=158753
,
Jul 19 2017
,
Oct 23 2017
,
Feb 8 2018
,
Feb 16 2018
,
Feb 16 2018
,
Feb 16 2018
Related issue 680414
,
Feb 22 2018
,
Feb 28 2018
|
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by yamaguchi@chromium.org
, Jan 19 2017