ID3FrameAttachedPicture

public class ID3FrameAttachedPicture : ID3Frame, Equatable, CustomDebugStringConvertible

A class used to represent an ID3 attached picture frame to be used in the ID3 tag.

  • The image bytes as Data.

    Declaration

    Swift

    public let picture: Data
  • The ID3 type of the image (see ID3PictureType).

    Declaration

    Swift

    public let type: ID3PictureType
  • The file format. Only Jpeg and Png are supported by the standard (cross compatibility).

    Declaration

    Swift

    public let format: ID3PictureFormat
  • ID3FrameAttachedPicture debug description.

    Declaration

    Swift

    public var debugDescription: String { get }
  • Init an ID3 attached picture frame.

    Declaration

    Swift

    public init(picture: Data, type: ID3PictureType, format: ID3PictureFormat)

    Parameters

    picture

    the image bytes as Data.

    type

    the ID3 type of the attached picture. See ID3PictureType for a complete list of the available picture types.

    format

    the format of the image. See ID3PictureFormat. types.

  • Compare two AttachedPicture.

    Declaration

    Swift

    public static func == (lhs: ID3FrameAttachedPicture, rhs: ID3FrameAttachedPicture) -> Bool

    Parameters

    lhs

    left side of compare operation.

    rhs

    right side of compare operation.

    Return Value

    true if the attached pictures values are the same, else false.