image-in-browser
Version:
Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)
37 lines (36 loc) • 1.08 kB
TypeScript
/** @format */
import { IfdValue } from './ifd-value/ifd-value.js';
/**
* Represents an entry in the EXIF metadata.
*/
export declare class ExifEntry {
/**
* The tag identifier for the EXIF entry.
*/
private readonly _tag;
/**
* Gets the tag identifier for the EXIF entry.
* @returns {number} The tag identifier.
*/
get tag(): number;
/**
* The value associated with the EXIF entry.
*/
private _value;
/**
* Gets the value associated with the EXIF entry.
* @returns {IfdValue | undefined} The value, or undefined if not set.
*/
get value(): IfdValue | undefined;
/**
* Sets the value associated with the EXIF entry.
* @param {IfdValue | undefined} v - The value to set.
*/
set value(v: IfdValue | undefined);
/**
* Creates a new instance of ExifEntry.
* @param {number} tag - The tag identifier for the EXIF entry.
* @param {IfdValue} [value] - The value associated with the EXIF entry (optional).
*/
constructor(tag: number, value?: IfdValue);
}