<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Returns the mime type of the picture</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="id3v2attachedpictureframe.getdescription.html">KTaglib_ID3v2_AttachedPictureFrame::getDescription</a></div> <div class="next" style="text-align: right; float: right;"><a href="id3v2attachedpictureframe.gettype.html">KTaglib_ID3v2_AttachedPictureFrame::getType</a></div> <div class="up"><a href="class.ktaglib-id3v2-attachedpictureframe.html">KTaglib_ID3v2_AttachedPictureFrame</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="id3v2attachedpictureframe.getmimetype" class="refentry"> <div class="refnamediv"> <h1 class="refname">KTaglib_ID3v2_AttachedPictureFrame::getMimeType</h1> <p class="verinfo">(0.2.0)</p><p class="refpurpose"><span class="refname">KTaglib_ID3v2_AttachedPictureFrame::getMimeType</span> — <span class="dc-title">Returns the mime type of the picture</span></p> </div> <div class="refsect1 description" id="refsect1-id3v2attachedpictureframe.getmimetype-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><strong>KTaglib_ID3v2_AttachedPictureFrame::getMimeType</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Returns the mime type of the image represented by the attached picture frame. </p> <p class="para"> 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. </p> <p class="para"> Notice that even the frame is an attached picture, the mime type might not be set and therefore an empty string might be returned. </p> </div> <div class="refsect1 returnvalues" id="refsect1-id3v2attachedpictureframe.getmimetype-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the mime type of the image represented by the attached picture frame. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="id3v2attachedpictureframe.getdescription.html">KTaglib_ID3v2_AttachedPictureFrame::getDescription</a></div> <div class="next" style="text-align: right; float: right;"><a href="id3v2attachedpictureframe.gettype.html">KTaglib_ID3v2_AttachedPictureFrame::getType</a></div> <div class="up"><a href="class.ktaglib-id3v2-attachedpictureframe.html">KTaglib_ID3v2_AttachedPictureFrame</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>