Limit max cover height

Otherwise we can end with huge cover files if the source content has abnormally tall covers. This large files could end exhausting RAM in the iOS client.
This commit is contained in:
Luis Ángel San Martín
2022-08-29 20:04:00 +02:00
parent 1cf81ebac0
commit a0dfa4e447
2 changed files with 20 additions and 16 deletions

View File

@ -21,6 +21,7 @@ private:
int _coverPage;
static bool crash;
QByteArray _xmlInfoData;
void saveCover(const QString &path, const QImage &cover);
public slots:
void extract();