Hello Martin.
I battle hard with id3 tag. (http://id3.org/Home)
id3 version 2 is in the pocket ---->
var
BufferTag: array[1..128] of char;
F: file;
begin
AssignFile(F, '/test.mp3');
Reset(F, 1);
Seek(F, FileSize(F) - 128);
BlockRead(F, BufferTag, SizeOf(BufferTag));
CloseFile(F);
writeln('tag : ' + copy(BufferTag, 1, 3));
writeln('title : ' + copy(BufferTag, 4, 30));
writeln('artist : ' + copy(BufferTag, 34, 30));
writeln('album : ' + copy(BufferTag, 64, 30));
writeln('date : ' + copy(BufferTag, 94, 4));
writeln('comment : ' + copy(BufferTag, 98, 30));
writeln('genre : ' + inttostr(ord(BufferTag[128])));
end;
Now time for something not so easy... ---> id3 version 3 and his image tag.
I have already something.
But how could I show those picture data with MSE?
If I have a buffer filled with picture data (png or jpg), how to use that
buffer to show the image ?
Thanks.
PS: If somebody has already deal with id3v3 image tag, any advice is more
than welcome.
Fre;D
--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk