Class: TagLib::MP4::CoverArt
- Inherits:
-
Object
- Object
- TagLib::MP4::CoverArt
- Defined in:
- docs/taglib/mp4.rb
Overview
The CoverArt
class is used to embed cover art images in MP4 tags.
Constant Summary collapse
- Unknown =
0x00
- JPEG =
0x0D
- PNG =
0x0E
- BMP =
0x1B
- GIF =
Deprecated
0x0C
Instance Attribute Summary collapse
-
#data ⇒ String
readonly
Returns the raw image data.
-
#format ⇒ Fixnum
readonly
Returns the format of the image data:
JPEG
orPNG
.
Instance Method Summary collapse
Constructor Details
#initialize(format, data) ⇒ TagLib::MP4::CoverArt
373 374 |
# File 'docs/taglib/mp4.rb', line 373 def initialize(format, data) end |
Instance Attribute Details
#data ⇒ String (readonly)
Returns the raw image data
368 369 370 |
# File 'docs/taglib/mp4.rb', line 368 def data @data end |
#format ⇒ Fixnum (readonly)
Returns the format of the image data: JPEG
or PNG
.
364 365 366 |
# File 'docs/taglib/mp4.rb', line 364 def format @format end |