node-taglib-sharp / Exports / 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.
-
↳
IPhotoCodec
• description: string
Gets a text description of the media represented by the current instance.
• durationMilliseconds: number
Duration of the media in milliseconds represented by the current instance.
TODO
Ensure milliseconds is the right way to interpret this field
• mediaTypes: MediaTypes
Types of media represented by the current instance, bitwise combined.
• photoHeight: number
Height of the photo in pixels represented by the current instance.
• 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: number
Width of the photo in pixels represented by the current instance.