From: "Jan E." Date: 2012-04-04T02:25:40+09:00 Subject: Re: extracting mp3 image and its data when upload is done Hi, Of course it's possible. Even if there were no libraries, you could still extract the bits "by hand". But you don't have to. Simply install one of the ID3 libraries like taglib-ruby: http://robinst.github.com/taglib-ruby/ You can then extract the cover picture: #### require 'taglib' TagLib::MPEG::File.open("C:/music/test.mp3") do |mp3| cover = mp3.id3v2_tag.frame_list('APIC').first.picture File.open('C:/music/cover.jpg', 'wb') {|f| f << cover} end #### -- Posted via http://www.ruby-forum.com/.