Browse Source

Add JSDoc to the runEXIF function in Image.js

toby 8 years ago
parent
commit
82d28242cc
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/core/operations/Image.js

+ 9 - 0
src/core/operations/Image.js

@@ -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);