aadsm / jsmediatags

Media Tags Reader (ID3, MP4, FLAC)
Other
752 stars 128 forks source link

Picture documentation issue #152

Open Android789515 opened 2 years ago

Android789515 commented 2 years ago

pic docs issue

Trying to grab picture data from the tags of an mp3. Well I tried using a reduce method instead of a for loop in the example but it's not displaying the image so I'm guessing I did something wrong in my reduce.

I tried copying and pasting the example code but it is using const for the iterator variable -> i. You can't re-assign const. Also, you never use the destructured format variable.

I thought I'd make an issue so it can get updated and so I could get some clarification on how to use the data.

Android789515 commented 2 years ago

Well I fixed my issue in my reduce method so I can load the picture.

studentIvan commented 10 months ago

@Android789515 how did you manage to read it finally?