Class: AudioTag::ID3::V2::Frames::PictureFrame

Inherits:
AudioTag::ID3::V2::Frame show all
Defined in:
lib/audio_tag/id3/v2/frames/picture_frame.rb

Constant Summary collapse

ENCODINGS =
%i[
  ascii
  utf_16
  utf_16be
  utf_8
].freeze
TYPES =
%i[
  other
  thumbnail
  other_thumbnail
  front_cover
  back_cover
  leaflet_page
  media_page
  lead_artist
  artist
  conductor
  band
  composer
  lyricist
  recording_location
  during_recording
  during_performance
  movie_capture
  bright_colored_fish
  illustration
  band_logo
  publisher_logo
].freeze

Instance Attribute Summary

Attributes inherited from AudioTag::ID3::V2::Frame

#header, #raw_data

Attributes inherited from StreamReader

#stream

Instance Method Summary collapse

Methods inherited from AudioTag::ID3::V2::Frame

build, #initialize, #key, #to_h

Methods inherited from StreamSection

#initialize

Methods inherited from StreamReader

#initialize, #read, #read!, #read_byte, #read_byte!, #read_bytes, #read_bytes!, #read_bytes_until, #read_bytes_until!, #read_until, #read_until!

Constructor Details

This class inherits a constructor from AudioTag::ID3::V2::Frame

Instance Method Details

#dataObject


37
38
39
# File 'lib/audio_tag/id3/v2/frames/picture_frame.rb', line 37

def data
  { encoding:, mime:, type:, description: }
end