tiff as an option

This commit is contained in:
Joe Knapper 2024-02-09 19:05:20 +00:00
parent 6aa712e515
commit 61d7712c27
2 changed files with 8 additions and 1 deletions

View file

@ -1045,7 +1045,7 @@ class SmartScanThing(Thing):
# This is a list of file names that are updated as the scan goes,
# and should only be zipped at the end of the scan - otherwise they'll
# be appended on every loop as we can't overwrite files in the zip
files_to_delay = ['TileConfiguration', 'tiling_cache', 'stitched.jp', 'stitched_from']
files_to_delay = ['TileConfiguration', 'tiling_cache', 'stitched.jp', 'stitched_from', 'stitched.om']
with zipfile.ZipFile(zip_fname, mode="a") as zip:
for file in files:

View file

@ -31,6 +31,13 @@
label="Image overlap (0-1)"
/>
</div>
<div class="uk-margin">
<propertyControl
thing-name="smart_scan"
property-name="stitch_tiff"
label="When stitching, produce a pyramidal tiff"
/>
</div>
</div>
</li>
<li class="uk-open">