mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
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>
This commit is contained in:
parent
0352bd01db
commit
8b05d6c8c8
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@
|
|||
\value CompressionRatio The compression ratio of the image data. A
|
||||
handler that supports this option is expected to set its
|
||||
compression rate depending on the value of this option (an int)
|
||||
when writing.
|
||||
when writing. Note that this option is usually taken as
|
||||
compression level not ratio despite its name.
|
||||
|
||||
\value Gamma The gamma level of the image. A handler that supports
|
||||
this option is expected to set the image gamma level depending on
|
||||
|
|
Loading…
Add table
Reference in a new issue