Explorar o código

Add JSDoc to the runEXIF function in Image.js

toby %!s(int64=8) %!d(string=hai) anos
pai
achega
82d28242cc
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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);