logo

THEOplayer > ID3AttachedPicture

ID3AttachedPicture interface

Inherits from ID3BaseFrame . See parent page for inherited properties and methods.

Represents an attached picture ID3 frame.

Signature:

export interface ID3AttachedPicture extends ID3BaseFrame 

Properties

Property

Type

Description

data

string | ArrayBuffer

The data of the attached picture.

description

string

The description of the attached picture.

id

'APIC' | 'PIC'

The identifier of the frame.

mimeType

string

The mime type of the attached picture.

pictureType

number

The type of the attached picture.

Property Details

data

The data of the attached picture.

Signature:

data: string | ArrayBuffer;

Remarks


- If ID3AttachedPicture.mimeType is '-->' the data is an URL for a picture resource as a string. Otherwise the data is an ArrayBuffer.

description

The description of the attached picture.

Signature:

description: string;

id

The identifier of the frame.

Signature:

id: 'APIC' | 'PIC';

mimeType

The mime type of the attached picture.

Signature:

mimeType: string;

pictureType

The type of the attached picture.

Signature:

pictureType: number;

Remarks


- See section 4.14 of id3v2.4.0-frames - ID3.org.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona