note that png is better than webp for BW content (#1451)

This commit is contained in:
Alex Xu
2026-09-25 15:36:43 -07:00
committed by GitHub
parent e9410d26f7
commit a221b0c45e
2 changed files with 12 additions and 4 deletions
+6 -2
View File
@@ -825,10 +825,14 @@ Useful if you plan to crop a little off the top and bottom to fill screen.</stri
<property name="toolTip"> <property name="toolTip">
<string>Replace JPG with lossy WebP and PNG with lossless WebP. This includes the JPG Quality. <string>Replace JPG with lossy WebP and PNG with lossless WebP. This includes the JPG Quality.
Ignored for Kindle EPUB/MOBI and all PDF.</string> Ignored for Kindle EPUB/MOBI and all PDF.
Makes a large difference in filesize for color content.
Not very useful for BW content due to minimal filesize improvement compared to PNG and greater resource usage. </string>
</property> </property>
<property name="text"> <property name="text">
<string>WebP (experimental)</string> <string>WebP</string>
</property> </property>
</widget> </widget>
</item> </item>
+6 -2
View File
@@ -853,9 +853,13 @@ class Ui_mainWindow(object):
#if QT_CONFIG(tooltip) #if QT_CONFIG(tooltip)
self.webpBox.setToolTip(QCoreApplication.translate("mainWindow", u"Replace JPG with lossy WebP and PNG with lossless WebP. This includes the JPG Quality.\n" self.webpBox.setToolTip(QCoreApplication.translate("mainWindow", u"Replace JPG with lossy WebP and PNG with lossless WebP. This includes the JPG Quality.\n"
"\n" "\n"
"Ignored for Kindle EPUB/MOBI and all PDF.", None)) "Ignored for Kindle EPUB/MOBI and all PDF.\n"
"\n"
"Makes a large difference in filesize for color content.\n"
"\n"
"Not very useful for BW content due to minimal filesize improvement compared to PNG and greater resource usage. ", None))
#endif // QT_CONFIG(tooltip) #endif // QT_CONFIG(tooltip)
self.webpBox.setText(QCoreApplication.translate("mainWindow", u"WebP (experimental)", None)) self.webpBox.setText(QCoreApplication.translate("mainWindow", u"WebP", None))
#if QT_CONFIG(tooltip) #if QT_CONFIG(tooltip)
self.rotateBox.setToolTip(QCoreApplication.translate("mainWindow", u"<html><head/><body><p><span style=\" font-weight:600; text-decoration: underline;\">Unchecked - Split<br/></span>Double page spreads will be cut into two separate pages.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Indeterminate - Split and rotate<br/></span>Double page spreads will be displayed twice. First split and then rotated. </p><p><span style=\" font-weight:600; text-decoration: underline;\">Checked - Rotate<br/></span>Double page spreads will be rotated.</p></body></html>", None)) self.rotateBox.setToolTip(QCoreApplication.translate("mainWindow", u"<html><head/><body><p><span style=\" font-weight:600; text-decoration: underline;\">Unchecked - Split<br/></span>Double page spreads will be cut into two separate pages.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Indeterminate - Split and rotate<br/></span>Double page spreads will be displayed twice. First split and then rotated. </p><p><span style=\" font-weight:600; text-decoration: underline;\">Checked - Rotate<br/></span>Double page spreads will be rotated.</p></body></html>", None))
#endif // QT_CONFIG(tooltip) #endif // QT_CONFIG(tooltip)