Solved

Extract ID3v2 Encapsulated Image from mp3

Posted on 2004-09-12
8
396 Views
Last Modified: 2010-04-05

Programming in Delphi Version 7.

I was wondering if anybody had a code sample of how to display the encapsualted image from a ID3v2 tag. I have successfully extracted and wrote to other popular frames, but the picture is eluding me. I can only seem to extract it as a string. If possbile i would also like a code sample to read other frames of the ID3v2 tag, such as Rating, Lyrics, etc.. Thankyou.
0
Comment
Question by:FINGERLICKINGGOOD
8 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12041444
Hmmm, what image you are talking about... I don't see any "image" in IDv2 tag. The other this is that is also doesn't contain lyrics or rating...

Are you talking about the images and lyrics some players retrieve from internet ... ?
0
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12041988
0
 

Author Comment

by:FINGERLICKINGGOOD
ID: 12051243
To ivanov G, there is a image frame for ID3v2 tags. Have a look in windows media player, iTunes that i know of. Many images can be stored there. Have a look at this site:  http://www.id3.org/id3v2.3.0.html#sec4.15 this is where it details the image. Please help.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 12051948
FINGERLICKINGGOOD, doesn't the link posted above help? It's about storing images in ID3V2 tag and the suggested component http://www.torry.net/vcl/mmedia/audio/id3v4.zip (already available with source) uses the structure from  http://www.id3.org/id3v2.3.0.html#sec4.15

F68 ;-)
0
 

Author Comment

by:FINGERLICKINGGOOD
ID: 12071570
yeah i was only able to read pictures that i had put in there and not picture that were put in by windows media player or iTunes for windows. I could embed the picture then extract it and then the file would not play! removing the tag fixed this problem. So i think i will give up. If i add pictures to all of my mp3's this will add up to roughly 100MB. So i have decided to just create a folder that has all album images named to the convention of "Artist" - "album" and the software i am using will look in this folder for a picture with that name. That way i can have 1 detailed 100KB image that will serve all songs in the album, instead of 20 5KB images embedded in each file. But if you can post a complete project that successfully adds and views a picture, and is playable, that would be good.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13432790
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now