KTaglib_ID3v2_AttachedPictureFrame::getMimeType
(0.2.0)
KTaglib_ID3v2_AttachedPictureFrame::getMimeType — Returns the mime type of the picture
Description
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.
Return Values
Returns the mime type of the image represented by the attached picture frame.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Обработка аудио форматов
- KTaglib
- Функция KTaglib_ID3v2_AttachedPictureFrame::getDescription() - Returns a description for the picture in a picture frame
- Функция KTaglib_ID3v2_AttachedPictureFrame::getMimeType() - Returns the mime type of the picture
- Функция KTaglib_ID3v2_AttachedPictureFrame::getType() - Returns the type of the image
- Функция KTaglib_ID3v2_AttachedPictureFrame::savePicture() - Saves the picture to a file
- Функция KTaglib_ID3v2_AttachedPictureFrame::setMimeType() - Set's the mime type of the picture
- Функция KTaglib_ID3v2_AttachedPictureFrame::setPicture() - Sets the frame picture to the given image
- Функция KTaglib_ID3v2_AttachedPictureFrame::setType() - Set the type of the image
Коментарии
404 Not Found