Add JSDoc to the runEXIF function in Image.js

This commit is contained in:
toby 2017-05-09 15:34:18 -04:00
parent 60fddf837d
commit 82d28242cc

View file

@ -12,6 +12,15 @@ import Utils from "../Utils.js";
* @namespace
*/
const Image = {
/**
* Extract EXIF operation.
*
* Extracts EXIF data from a byteArray, representing a JPG or a TIFF image.
*
* @param {byteArray} input
* @param {Object[]} args
* @returns {string}
*/
runEXIF(input, args) {
try {
const bytes = Uint8Array.from(input);