?
Solved

Extract ID3v2 Encapsulated Image from mp3

Posted on 2004-09-12
8
Medium Priority
?
442 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
 

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

764 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