Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting embedded images in id3v2 COVERART_UUENCODED #50

Open
othmar52 opened this issue Feb 1, 2017 · 0 comments
Open

Extracting embedded images in id3v2 COVERART_UUENCODED #50

othmar52 opened this issue Feb 1, 2017 · 0 comments

Comments

@othmar52
Copy link
Owner

othmar52 commented Feb 1, 2017

Some files does have embedded images in $tags['id3v2']['text']['COVERART_UUENCODED']
How to decode these encoded strings to a useable bitmap?

running

convert_uudecode($tags['id3v2']['text']['COVERART_UUENCODED']);

of testfile-with-COVERART_UUENCODED.mp3.zip returns about 26K lines like

M7SA?7T%*6U$E6$DU1B`@,"DI2C0@*"`@("`J("`O(2`B("8@("`@("8@($`@
M,"$@(B`O("`@("`L("!`(#(A(",@(2`@("`@(2`@("`Z(2`E("$@("`@(#L@
M($`@.R$@)2`A("`@("!#("!`($@A(",@(2`@("`@(B`@("!1(2`B(#P@("`@
...
M2BU)*$M&.R<S3CA73D@U)$M"2C1`,B!!320G6DDE)"Y5)4,W.%0N7E\@5E)0
M420I-B$G+#PY7D9>2T%7)#M3)TU-+254(EDB("E-65PK03-`7R!<6S@Q0BY?
$7SLY4```
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant