PHP Doku:: Returns the mime type of the picture - id3v2attachedpictureframe.getMimeType.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzManipulation von AudioformatenKTaglibThe KTaglib_ID3v2_AttachedPictureFrame classKTaglib_ID3v2_AttachedPictureFrame::getMimeType

Ein Service von Reinhard Neidl - Webprogrammierung.

The KTaglib_ID3v2_AttachedPictureFrame class

<<KTaglib_ID3v2_AttachedPictureFrame::getDescription

KTaglib_ID3v2_AttachedPictureFrame::getType>>

KTaglib_ID3v2_AttachedPictureFrame::getMimeType

(0.2.0)

KTaglib_ID3v2_AttachedPictureFrame::getMimeTypeReturns the mime type of the picture

Beschreibung

public string KTaglib_ID3v2_AttachedPictureFrame::getMimeType ( void )

Returns the mime type of the image represented by the attached picture frame.

Please notice that this method might return different types. While ID3v2.2 have a mime type that doesn't start with "image/", ID3v2.3 and v2.4 usually start with "image/". Therefore the method might return "image/png" for IDv2.3 frames and just "PNG" for ID3v2.2 frames.

Notice that even the frame is an attached picture, the mime type might not be set and therefore an empty string might be returned.

Rückgabewerte

Returns the mime type of the image represented by the attached picture frame.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)