mekb-turtle / Foto

:framed_picture: Simple image viewer written in C
Mozilla Public License 2.0
3 stars 0 forks source link

Add the ability to extract the image from an MP3 file and display it #8

Open CallMeEchoCodes opened 1 year ago

CallMeEchoCodes commented 1 year ago

It would be really useful for music album art scripts to pull the image out of a music file and display it. Yes this is possible with ffmpeg and stuff but it would be nice to do it in one command.

Might also be a good idea to make it an arg. That way we don't get slowed down checking if the file is a music file

Progress tracker

mekb-turtle commented 1 year ago

Would you be okay with having it executing ffmpeg externally? Having it as a dependency would be too much work just for a tiny feature.

also ffmpeg is massive compared to foto, the package for ffmpeg is around 1000 times bigger than the package for foto

CallMeEchoCodes commented 1 year ago

im pretty sure i remember someone making a tool in perl that extracted the image. perl is very basic so i imagine it wouldnt be to hard to make yourself. maybe try find that tool and see how it works?