@@ -194,9 +194,11 @@ Requires `canvas: true`.
194
194
* ** crop** : Crops the image to the maxWidth/maxHeight constraints if set to
195
195
` true ` .
196
196
Enabling the ` crop ` option also enables the ` canvas ` option.
197
- * ** orientation** : Allows to transform the canvas coordinates according to the
198
- EXIF orientation specification.
199
- Setting the ` orientation ` also enables the ` canvas ` option.
197
+ * ** orientation** : Transform the canvas according to the
198
+ specified Exif orientation (number in range 1 to 8). See
199
+ [ loadImage.parseMetaData] ( https://github.com/blueimp/JavaScript-Load-Image#meta-data-parsing )
200
+ for parsing EXIF data. Setting the ` orientation ` also enables the ` canvas `
201
+ option.
200
202
* ** canvas** : Returns the image as
201
203
[ canvas] ( https://developer.mozilla.org/en/HTML/Canvas ) element if set to ` true ` .
202
204
* ** crossOrigin** : Sets the crossOrigin property on the img element for loading
@@ -266,9 +268,9 @@ Blob objects of resized images can be created via
266
268
[ canvas.toBlob()] ( https://github.com/blueimp/JavaScript-Canvas-to-Blob ) .
267
269
268
270
### Exif parser
269
- If you include the Load Image Exif Parser extension, the ** parseMetaData **
270
- callback ** data ** contains the additional property ** exif** if Exif data could
271
- be found in the given image.
271
+ If you include the Load Image Exif Parser extension, the argument passed to the
272
+ callback for ** parseMetaData ** will contain the additional property ** exif** if
273
+ Exif data could be found in the given image.
272
274
The ** exif** object stores the parsed Exif tags:
273
275
274
276
``` js
@@ -313,3 +315,4 @@ The JavaScript Load Image script is released under the
313
315
Achim Stöhr.
314
316
* Exif tags mapping based on Jacob Seidelin's
315
317
[ exif-js] ( https://github.com/jseidelin/exif-js ) .
318
+
0 commit comments