Interface: IPhotoCodec
March 10, 2023 · View on GitHub
node-taglib-sharp / Exports / IPhotoCodec
Interface: IPhotoCodec
Interface that inherits the common codec information and adds photo-specific information. When dealing with an ICodec, if mediaTypes contains Photo, it is safe to assume that the object also inherits IPhotoCodec and can be recast without issue.
Hierarchy
-
↳
IPhotoCodec
Implemented by
Table of contents
Properties
Properties
description
• description: string
Gets a text description of the media represented by the current instance.
Inherited from
durationMilliseconds
• durationMilliseconds: number
Duration of the media in milliseconds represented by the current instance.
TODO
Ensure milliseconds is the right way to interpret this field
Inherited from
mediaTypes
• mediaTypes: MediaTypes
Types of media represented by the current instance, bitwise combined.
Inherited from
photoHeight
• photoHeight: number
Height of the photo in pixels represented by the current instance.
photoQuality
• photoQuality: number
Format-specific quality indicator of the photo represented by the current instance.
A value of 0 means there was no quality indicator for the format or file.
photoWidth
• photoWidth: number
Width of the photo in pixels represented by the current instance.