mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
CUERipper: AlbumArt support
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user