tiff to webp

This commit is contained in:
xiaoyifang 2022-04-05 13:09:40 +08:00
parent 0669455298
commit 7f805043c7

2
mdx.cc
View file

@ -994,7 +994,7 @@ void MddResourceRequest::run()
QByteArray ba;
QBuffer buffer( &ba );
buffer.open( QIODevice::WriteOnly );
img.save( &buffer, "png" );
img.save( &buffer, "webp" );
Mutex::Lock _( dataMutex );