keep PNG for avatars

This commit is contained in:
csoler 2023-01-16 20:16:44 +01:00
parent 0a8f4b1b6e
commit 31bdd6c226
6 changed files with 7 additions and 7 deletions

View file

@ -105,7 +105,7 @@ void PostedGroupDialog::preparePostedGroup(RsPostedGroup &group, const RsGroupMe
QBuffer buffer(&ba);
buffer.open(QIODevice::WriteOnly);
pixmap.save(&buffer, "JPG"); // writes image into ba in PNG format
pixmap.save(&buffer, "PNG"); // writes image into ba in PNG format
group.mGroupImage.copy((uint8_t *) ba.data(), ba.size());
} else {