kimgio: set the quality to 100 before writing the image from magick handler

partially fixes one gwenview test case, the other part is adjustment in the
test case since some image formats are automatically rotated

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-05-21 05:29:53 +03:00
parent f45d12c4ad
commit 0326a6026c

View file

@ -108,6 +108,7 @@ bool MagickHandler::read(QImage *image)
m_imagedelay = magickinimage.animationDelay();
Magick::Blob magickoutblob;
magickinimage.quality(100);
magickinimage.write(&magickoutblob, "PNG");
const Magick::Geometry magicksize = magickinimage.size();