Skip to content

Latest commit

 

History

History
94 lines (52 loc) · 2.05 KB

IPhotoCodec.md

File metadata and controls

94 lines (52 loc) · 2.05 KB

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

Implemented by

Table of contents

Properties

Properties

description

description: string

Gets a text description of the media represented by the current instance.

Inherited from

ICodec.description


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

ICodec.durationMilliseconds


mediaTypes

mediaTypes: MediaTypes

Types of media represented by the current instance, bitwise combined.

Inherited from

ICodec.mediaTypes


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.