PDA

View Full Version : MBItem.GetAlbumCover()



iolaus
August 24th, 2009, 04:51 PM
Would it be possible to get an overloaded version of MBItem.GetAlbumCover() that returns a System.Drawing.Image? The plug-in I'm building can pull thumbnails from a web service but it doesn't provide a URI that I can return using the current GetAlbumCover() implementation.

Rob H
August 24th, 2009, 07:23 PM
Can you not just save the image to a file? Here's the implementation of that from a FileEntryMBItem


_Image = Path.GetTempFileName();
thumbimage.Save(_Image, System.Drawing.Imaging.ImageFormat.Jpeg);
return _Image;

_Image is a String