Skip to content

Commit 3f7b50e

Browse files
committed
Clarify meta option.
1 parent 804fd90 commit 3f7b50e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,13 @@ the browser supports automatic image orientation (see
335335
### meta
336336

337337
Automatically parses the image meta data if set to `true`.
338-
The meta data is passed to the callback as part of the second argument.
338+
If meta data has been found, the data object passed as second argument to the
339+
callback function has additional properties (see
340+
[meta data parsing](#meta-data-parsing)).
339341
If the file is given as URL and the browser supports the
340-
[fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API), fetches
341-
the file as Blob to be able to parse the meta data.
342+
[fetch API](https://developer.mozilla.org/en/docs/Web/API/Fetch_API) or the XHR
343+
[responseType](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType)
344+
`blob`, fetches the file as Blob to be able to parse the meta data.
342345

343346
### canvas
344347

0 commit comments

Comments
 (0)