diff --git a/image/parsers/exif.js b/image/parsers/exif.js index 0719dea..73a56ad 100644 --- a/image/parsers/exif.js +++ b/image/parsers/exif.js @@ -223,6 +223,78 @@ export function getExifValue(stream, lookAheadStream, DEBUG = false) { return exifValue; } +/** + * Reads an Image File Directory from stream, populating the map. + * @param {ByteStream} stream The stream to extract the Exif value descriptors. + * @param {ByteStream} lookAheadStream The lookahead stream if the offset is used. + * @param {Map