OSDN Git Service

add note about QImageIOHandler::CompressionRatio
authorIvailo Monev <xakepa10@gmail.com>
Sun, 27 Feb 2022 14:38:17 +0000 (16:38 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 27 Feb 2022 14:38:17 +0000 (16:38 +0200)
commit8b05d6c8c80ba3008c691fd569213b89a0f7e063
tree74620e772194b525692f4f1434a909269c8b28c9
parent0352bd01db57a592ab95f345d40f036a55e412d3
add note about QImageIOHandler::CompressionRatio

png handler was using QImageIOHandler::Quality as compression level (mapped
from 0-100 to 0-9) btw which is far from the meaning of quality since data
can be compressed and decompressed without losing quality, applying filter
to blur pixels and reduce quality is totally different

TODO: replace QImageIOHandler::CompressionRatio with
QImageIOHandler::CompressionLevel

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/image/qimageiohandler.cpp