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

Extract album art. #2

Closed
robertapengelly opened this issue Sep 24, 2022 · 1 comment · Fixed by #3
Closed

Extract album art. #2

robertapengelly opened this issue Sep 24, 2022 · 1 comment · Fixed by #3
Labels
enhancement New feature or request

Comments

@robertapengelly
Copy link
Contributor

Not exactly an issue but how do you extract the album art? I know that it's within the comment header identified by METADATA_BLOCK_PICTURE and that it's base64 encoded, I just don't know how to extract the image after decoding it as it starts with 8 bytes before the mimetype and I don't know how to get to the actual image data.

I tried googling it but I can't find anything (at least nothing that helps) and I've looked at other projects but they don't seem to have an implementation to extract the image.

@stephengold
Copy link
Owner

Thanks for getting in touch.
Off-hand, I don't know what's needed.
I'm busy with other projects and won't investigate right now. However, I'll keep this open for future investigation.
If you find a solution, please let me know or submit a pull request.

@stephengold stephengold added the enhancement New feature or request label Sep 24, 2022
@stephengold stephengold linked a pull request Sep 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants