Skip to content

Commit

Permalink
disable background image resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
pfautrero committed Nov 5, 2023
1 parent f51a62a commit 79ccdae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/xiaconverter/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(self, root, console, config, workingDir, svgfile=''):
translate = t.gettext

self.root = root
self.resize = 3
self.resize = 0

self.options = {
'export_type': "singlefile"
Expand Down Expand Up @@ -365,7 +365,7 @@ def defineMaxPixels(self, resizeCoeff):
return float(5 * 1024 * 1024)
else:
# arbitrary huge size
return float(100 * 512 * 1024)
return float(100 * 1024 * 1024)

def quit(self):
self.root.destroy()
2 changes: 1 addition & 1 deletion src/xiaconverter/xiaconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, config, options, console):
self.quantizeLib = config.get('paths', 'quantizeLib')
self.xiaEngine = config.get('paths', 'xiaEngine')

self.resize = 3
self.resize = 0
self.filename = options['input_file']
if options['output_dir'].endswith('/'):
self.dirname = options['output_dir'][:-1]
Expand Down

0 comments on commit 79ccdae

Please sign in to comment.