diff --git a/README.md b/README.md
index f4b29a7..7624d58 100644
--- a/README.md
+++ b/README.md
@@ -269,7 +269,7 @@ PROCESSING:
Crop empty sections. 0: Disabled 1: Horizontally 2: Both [Default=0]
--blackborders Disable autodetection and force black borders
--whiteborders Disable autodetection and force white borders
- --nosmartcovercrop Disable attempt to crop main cover from wide image
+ --smartcovercrop Attempt to crop main cover from wide image
--coverfill Center-crop only the cover to fill target device screen
--forcecolor Don't convert images to grayscale
--forcepng Create PNG files instead JPEG for black and white images
diff --git a/gui/KCC.ui b/gui/KCC.ui
index df25af3..9cc41d3 100644
--- a/gui/KCC.ui
+++ b/gui/KCC.ui
@@ -655,12 +655,12 @@ Higher values are larger and higher quality, and may resolve blank page issues.<
-
-
+
- Disable attempt to crop main cover from wide image.
+ <html><head/><body><p>Attempt to crop main cover from wide image.</p></body></html>
- No Smart Cover Crop
+ Smart Cover Crop
diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py
index 2e99199..9d9fb5b 100644
--- a/kindlecomicconverter/KCC_gui.py
+++ b/kindlecomicconverter/KCC_gui.py
@@ -331,8 +331,8 @@ class WorkerThread(QThread):
options.pdfextract = True
if GUI.pdfWidthBox.isChecked():
options.pdfwidth = True
- if GUI.noSmartCoverCropBox.isChecked():
- options.nosmartcovercrop = True
+ if GUI.smartCoverCropBox.isChecked():
+ options.smartcovercrop = True
if GUI.coverFillBox.isChecked():
options.coverfill = True
if GUI.metadataTitleBox.checkState() == Qt.CheckState.PartiallyChecked:
@@ -1085,7 +1085,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
'disableProcessingBox': GUI.disableProcessingBox.checkState(),
'pdfExtractBox': GUI.pdfExtractBox.checkState(),
'pdfWidthBox': GUI.pdfWidthBox.checkState(),
- 'noSmartCoverCropBox': GUI.noSmartCoverCropBox.checkState(),
+ 'smartCoverCropBox': GUI.smartCoverCropBox.checkState(),
'coverFillBox': GUI.coverFillBox.checkState(),
'metadataTitleBox': GUI.metadataTitleBox.checkState(),
'mozJpegBox': GUI.mozJpegBox.checkState(),
diff --git a/kindlecomicconverter/KCC_ui.py b/kindlecomicconverter/KCC_ui.py
index 407607d..62e9d29 100644
--- a/kindlecomicconverter/KCC_ui.py
+++ b/kindlecomicconverter/KCC_ui.py
@@ -344,10 +344,10 @@ class Ui_mainWindow(object):
self.gridLayout_2.addWidget(self.metadataTitleBox, 7, 0, 1, 1)
- self.noSmartCoverCropBox = QCheckBox(self.optionWidget)
- self.noSmartCoverCropBox.setObjectName(u"noSmartCoverCropBox")
+ self.smartCoverCropBox = QCheckBox(self.optionWidget)
+ self.smartCoverCropBox.setObjectName(u"smartCoverCropBox")
- self.gridLayout_2.addWidget(self.noSmartCoverCropBox, 11, 1, 1, 1)
+ self.gridLayout_2.addWidget(self.smartCoverCropBox, 11, 1, 1, 1)
self.rotateFirstBox = QCheckBox(self.optionWidget)
self.rotateFirstBox.setObjectName(u"rotateFirstBox")
@@ -753,9 +753,9 @@ class Ui_mainWindow(object):
#endif // QT_CONFIG(tooltip)
self.metadataTitleBox.setText(QCoreApplication.translate("mainWindow", u"Metadata Title", None))
#if QT_CONFIG(tooltip)
- self.noSmartCoverCropBox.setToolTip(QCoreApplication.translate("mainWindow", u"Disable attempt to crop main cover from wide image.", None))
+ self.smartCoverCropBox.setToolTip(QCoreApplication.translate("mainWindow", u"
Attempt to crop main cover from wide image.
", None))
#endif // QT_CONFIG(tooltip)
- self.noSmartCoverCropBox.setText(QCoreApplication.translate("mainWindow", u"No Smart Cover Crop", None))
+ self.smartCoverCropBox.setText(QCoreApplication.translate("mainWindow", u"Smart Cover Crop", None))
#if QT_CONFIG(tooltip)
self.rotateFirstBox.setToolTip(QCoreApplication.translate("mainWindow", u"When the spread splitter option is partially checked,
Unchecked - Rotate Last
Put the rotated 2 page spread after the split spreads.
Checked - Rotate First
Put the rotated 2 page spread before the split spreads.
", None))
#endif // QT_CONFIG(tooltip)
diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py
index 8b8d571..8cd316c 100755
--- a/kindlecomicconverter/comic2ebook.py
+++ b/kindlecomicconverter/comic2ebook.py
@@ -1406,8 +1406,8 @@ def makeParser():
help="Use the legacy PDF image extraction method from KCC 8 and earlier")
processing_options.add_argument("--pdfwidth", action="store_true", dest="pdfwidth", default=False,
help="Render vector PDFs to device width instead of height.")
- processing_options.add_argument("--nosmartcovercrop", action="store_true", dest="nosmartcovercrop", default=False,
- help="Disable attempt to crop main cover from wide image")
+ processing_options.add_argument("--smartcovercrop", action="store_true", dest="smartcovercrop", default=False,
+ help="Attempt to crop main cover from wide image")
processing_options.add_argument("--coverfill", action="store_true", dest="coverfill", default=False,
help="Crop cover to fill screen")
processing_options.add_argument("-u", "--upscale", action="store_true", dest="upscale", default=False,
diff --git a/kindlecomicconverter/image.py b/kindlecomicconverter/image.py
index 2a00c75..8b5486e 100755
--- a/kindlecomicconverter/image.py
+++ b/kindlecomicconverter/image.py
@@ -599,7 +599,7 @@ class Cover:
self.image = ImageOps.autocontrast(self.image, preserve_tone=True)
if not self.options.forcecolor:
self.image = self.image.convert('L')
- if not self.options.nosmartcovercrop:
+ if self.options.smartcovercrop:
self.crop_main_cover()
size = list(self.options.profileData[1])