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
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,8 @@ This emulates the CSS feature [background-image: cover](https://developer.mozill
157
157
This feature assumes *crop: true*.
158
158
***crop**: Crops the image to the maxWidth/maxHeight constraints if set to *true*.
159
159
This feature assumes *canvas: true*.
160
-
***orientation**: Allows to transform the canvas coordinates according to the EXIF orientation specification.
160
+
***orientation**: Transform the canvas coordinates according to the EXIF orientation specification.
161
+
Note that you must provide an orientation value (1-8), as setting this option to *true* will not work. See [Exif parser](#exif-parser).
161
162
This feature assumes *canvas: true*.
162
163
***canvas**: Returns the image as [canvas](https://developer.mozilla.org/en/HTML/Canvas) element if set to *true*.
163
164
***crossOrigin**: Sets the crossOrigin property on the img element for loading [CORS enabled images](https://developer.mozilla.org/en-US/docs/HTML/CORS_Enabled_Image).
0 commit comments