I have problem getting mp3 file thumbnail using java, for example we have file:
File MP3File = new File(<directory>);
So, How can i retrieve its thumbnail?
Thanks for your attention, any ideas would be appreciated.
I have problem getting mp3 file thumbnail using java, for example we have file:
File MP3File = new File(<directory>);
So, How can i retrieve its thumbnail?
Thanks for your attention, any ideas would be appreciated.
Something like this might work:
Image icn=((ImageIcon) FileSystemView.getFileSystemView().getSystemIcon(new File(<directory>))).getImage();
icn = icn.getScaledInstance(32,32, Image.SCALE_SMOOTH);