Use the propper image format

This commit is contained in:
Martin Tůma 2024-06-14 18:56:14 +02:00
parent 3a0694323f
commit 5ed06f90b7

View File

@ -6,7 +6,7 @@
static QImage sdf2img(const QImage &sdf, const QColor &color)
{
QImage img(sdf.convertToFormat(QImage::Format_ARGB32_Premultiplied));
QImage img(sdf.convertToFormat(QImage::Format_ARGB32));
quint32 argb = color.rgba();
uchar *bits = img.bits();
int bpl = img.bytesPerLine();