Class: TagLib::ID3v2::AttachedPictureFrame
- Defined in:
- lib/TagLib_doc.rb
Overview
An ID3v2 attached picture frame implementation. .
This is an implementation of ID3v2 attached pictures. Pictures may be included in tags, one per APIC frame (but there may be multiple APIC frames in a single tag). These pictures are usually in either JPEG or PNG format.
Class Method Summary collapse
-
.new2 ⇒ Object
Singleton methods.
Instance Method Summary collapse
-
#description ⇒ Object
Returns a text description of the image.setDescription() textEncoding() setTextEncoding().
- #frameID ⇒ Object
-
#mimeType ⇒ Object
Returns the mime type of the image.
-
#picture ⇒ Object
Returns the image data as a ByteVector.ByteVector has a data() method that returns a const char * which should make it easy to export this data to external programs.
-
#setDescription(desc) ⇒ Object
Sets a textual description of the image to desc.description() textEncoding() setTextEncoding().
-
#setMimeType(m) ⇒ Object
Sets the mime type of the image.
-
#setPicture(p) ⇒ Object
Sets the image data to p.
-
#setTextEncoding(t) ⇒ Object
Set the text encoding used for the description.description().
-
#setType(t) ⇒ Object
Sets the type for the image.Type type().
- #size ⇒ Object
-
#textEncoding ⇒ Object
Returns the text encoding used for the description.setTextEncoding() description().
-
#toString ⇒ Object
Returns a string containing the description and mime-type.
Class Method Details
.new2 ⇒ Object
Singleton methods
2534 2535 |
# File 'lib/TagLib_doc.rb', line 2534 def self.new2() end |
Instance Method Details
#description ⇒ Object
Returns a text description of the image.setDescription() textEncoding() setTextEncoding()
2572 2573 |
# File 'lib/TagLib_doc.rb', line 2572 def description() end |
#frameID ⇒ Object
2553 2554 |
# File 'lib/TagLib_doc.rb', line 2553 def frameID() end |
#mimeType ⇒ Object
Returns the mime type of the image. This should in most cases be "image/png" or "image/jpeg".
2591 2592 |
# File 'lib/TagLib_doc.rb', line 2591 def mimeType() end |
#picture ⇒ Object
Returns the image data as a ByteVector.ByteVector has a data() method that returns a const char * which should make it easy to export this data to external programs. setPicture() mimeType()
2566 2567 |
# File 'lib/TagLib_doc.rb', line 2566 def picture() end |
#setDescription(desc) ⇒ Object
Sets a textual description of the image to desc.description() textEncoding() setTextEncoding()
2540 2541 |
# File 'lib/TagLib_doc.rb', line 2540 def setDescription(desc) end |
#setMimeType(m) ⇒ Object
Sets the mime type of the image. This should in most cases be "image/png" or "image/jpeg".
2596 2597 |
# File 'lib/TagLib_doc.rb', line 2596 def setMimeType(m) end |
#setPicture(p) ⇒ Object
Sets the image data to p. p should be of the type specified in this frame's mime-type specification.picture() mimeType() setMimeType()
2586 2587 |
# File 'lib/TagLib_doc.rb', line 2586 def setPicture(p) end |
#setTextEncoding(t) ⇒ Object
Set the text encoding used for the description.description()
2580 2581 |
# File 'lib/TagLib_doc.rb', line 2580 def setTextEncoding(t) end |
#setType(t) ⇒ Object
Sets the type for the image.Type type()
2559 2560 |
# File 'lib/TagLib_doc.rb', line 2559 def setType(t) end |
#size ⇒ Object
2574 2575 |
# File 'lib/TagLib_doc.rb', line 2574 def size() end |
#textEncoding ⇒ Object
Returns the text encoding used for the description.setTextEncoding() description()
2551 2552 |
# File 'lib/TagLib_doc.rb', line 2551 def textEncoding() end |
#toString ⇒ Object
Returns a string containing the description and mime-type
2545 2546 |
# File 'lib/TagLib_doc.rb', line 2545 def toString() end |