CUERipper: AlbumArt support

This commit is contained in:
chudov
2012-02-13 07:24:25 +00:00
parent 2161457451
commit fe3704f598
8 changed files with 1240 additions and 952 deletions

View File

@@ -2754,6 +2754,14 @@ namespace CUETools.Processor
}
}
public void AddAlbumArt(byte[] encoded)
{
var data = new TagLib.ByteVector(encoded);
var picture = new TagLib.Picture(data);
picture.Type = TagLib.PictureType.FrontCover;
_albumArt.Add(picture);
}
public void ResizeAlbumArt()
{
if (_albumArt == null)