title: how to get song cover art using TagLib
body: <p>Here's the code where I was able to get the song's picture/cover art.</p>
  
  <pre><code>TagLib::MPEG::File.open("song_file_name.mp3") do |file|
      tag = file.id3v2_tag
  
      cover = tag.frame_list('APIC').first
      mime_type = cover.mime_type
      picture = cover.picture
  end
  </code></pre>
  
  <p>How can I convert the value of picture into a url or image's source?</p>