sharpshell icon indicating copy to clipboard operation
sharpshell copied to clipboard

Get existing thumbnail

Open ojask opened this issue 3 years ago • 2 comments

Hi, how can I get the original thumbnail of the files using the thumbnail handler? I want to get album art of MP3 files, do some image manipulation on them, and display THAT as the thumbnail. The handler just completely overwrites the thumbnail, and nothing I've tried has worked so far. I have tried stuff like taglib to get album art from SelectedFileStream, it doesnt work, it probably cant read the stream, idk...

ojask avatar Dec 08 '22 14:12 ojask

It has nothing to do with this project, but I know there is a player project that can display album cover, I wonder if it can help you

BluePointLilac avatar Dec 12 '22 08:12 BluePointLilac

Actually I figured it out now. I just used initializeWithFileServer to get paths of each mp3 file and use the path to do manipulation on the album cover, and display the resulting image as their thumb. Works on vista, all the way to windows 10, seems like initializeWithFileServer is not really obsolete.

ojask avatar Dec 12 '22 09:12 ojask