WebToon splitter improvements

This commit is contained in:
Paweł Jastrzębski
2014-01-05 13:41:53 +01:00
parent 8fbe558f65
commit 19ff6a51cc
3 changed files with 84 additions and 5 deletions
+2 -4
View File
@@ -953,12 +953,10 @@ def main(argv=None, qtGUI=None):
path = getWorkFolder(args[0])
checkComicInfo(path + "/OEBPS/Images/", args[0])
if options.webtoon:
if GUI:
GUI.emit(QtCore.SIGNAL("progressBarTick"), 'status', 'Splitting images')
if options.customheight > 0:
comic2panel.main(['-y ' + str(options.customheight), '-i', path], qtGUI)
comic2panel.main(['-y ' + str(options.customheight), '-i', '-m', path], qtGUI)
else:
comic2panel.main(['-y ' + str(image.ProfileData.Profiles[options.profile][1][1]), '-i', path], qtGUI)
comic2panel.main(['-y ' + str(image.ProfileData.Profiles[options.profile][1][1]), '-i', '-m', path], qtGUI)
if options.imgproc:
print "\nProcessing images..."
if GUI: