From 7f805043c7342413f89821b9aa1544d11d6f6249 Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Tue, 5 Apr 2022 13:09:40 +0800 Subject: [PATCH] tiff to webp --- mdx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdx.cc b/mdx.cc index 4ed63382..556a355e 100644 --- a/mdx.cc +++ b/mdx.cc @@ -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 );