mirror of
https://github.com/gchq/CyberChef
synced 2024-12-27 04:53:16 +00:00
Add JSDoc to the runEXIF function in Image.js
This commit is contained in:
parent
60fddf837d
commit
82d28242cc
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue