TianyiShi2001 / audiotags

Unified IO for different types of audio metadata
https://tianyishi2001.github.io/audiotags
MIT License
41 stars 29 forks source link

Picture data usage #16

Closed HipyCas closed 6 months ago

HipyCas commented 2 years ago

I am trying yo use this library to parse the data from some files, and everything works perfectly fine expect the cover data. I cannot get to understant what data it is passing to me, as it is neither divisible by 3 nor 4. ¿Any idea on how to get the pixels from the array?

(My current objective is to render it in JS using a canvas, which needs an array of RGBA values)

Serial-ATA commented 2 years ago

Tags embed the full image file, if you need it decoded you should check out the image crate.

pinkforest commented 6 months ago

Closing as answered