Solved

Extract ID3v2 Encapsulated Image from mp3

Posted on 2004-09-12
8
428 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
 
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
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 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

Independent Software Vendors: 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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

707 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