Switched from gil to imagemagick++

This commit is contained in:
epoupon
2015-09-18 13:05:32 +02:00
parent 072e9ca6b6
commit fa0111988e
93 changed files with 95 additions and 15863 deletions
+2 -3
View File
@@ -61,7 +61,7 @@ getFromAvMediaFile(const Av::MediaFile& input, std::size_t nbMaxCovers)
std::vector<CoverArt> res;
for (Av::Picture& picture : input.getAttachedPictures(nbMaxCovers))
res.push_back( CoverArt(picture.mimeType, picture.data) );
res.push_back( CoverArt(picture.data) );
return res;
}
@@ -83,8 +83,7 @@ Grabber::getFromDirectory(const boost::filesystem::path& p, std::size_t nbMaxCov
while (file.get(c))
data.push_back(c);
// TODO handle other formats
res.push_back(CoverArt("image/jpeg", data));
res.push_back(CoverArt(data));
}
return res;