You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.
Chrome 81 began to use the image EXIF orientation by default. This breaks the annotation tool in some cases where images were displayed (and annotated) differently before. Also the annotation tool now displays some images differently across different browsers. The developers suggest to set CSS image-orientation: none to the image and canvas elements. However, the style is only computed if the elements exist in the DOM. The elements can be hidden with visibility: hidden; position: fixed;.
The implementation in this module is not straight forward as each image has its own canvas element and neither the image element nor the canvas element are ever present in the DOM. This may be fixed by temporarily appending the elements to the DOM while the image is drawn. The same must be done with the color adjustment canvas.
Chrome 81 began to use the image EXIF orientation by default. This breaks the annotation tool in some cases where images were displayed (and annotated) differently before. Also the annotation tool now displays some images differently across different browsers. The developers suggest to set CSS
image-orientation: none
to the image and canvas elements. However, the style is only computed if the elements exist in the DOM. The elements can be hidden withvisibility: hidden; position: fixed;
.The implementation in this module is not straight forward as each image has its own canvas element and neither the image element nor the canvas element are ever present in the DOM. This may be fixed by temporarily appending the elements to the DOM while the image is drawn. The same must be done with the color adjustment canvas.
References whatwg/html#4495
The text was updated successfully, but these errors were encountered: