Interface ID3AttachedPicture

Represents an attached picture ID3 frame.

interface ID3AttachedPicture {
    data: string | ArrayBuffer;
    description: string;
    id: "APIC" | "PIC";
    mimeType: string;
    pictureType: number;
}

Hierarchy (view full)

Properties

data: string | ArrayBuffer

The data of the attached picture.

Remarks


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

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.

Remarks


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