add padding function to imgScalePadding()

This commit is contained in:
ton
2023-04-14 03:23:43 +00:00
parent c43d949309
commit 39b417dd94
15256 changed files with 525519 additions and 1048290 deletions

View File

@@ -1,33 +0,0 @@
#!/usr/bin/env python3
# tifffile/lsm2bin.py
"""Convert TZCYX LSM file to series of BIN files.
Usage: ``lsm2bin lsm_filename [bin_filename]``
"""
import sys
try:
from .tifffile import lsm2bin
except ImportError:
try:
from tifffile.tifffile import lsm2bin
except ImportError:
from tifffile import lsm2bin
def main(argv=None):
"""Lsm2bin command line usage main function."""
if argv is None:
argv = sys.argv
if len(argv) > 1:
lsm2bin(argv[1], argv[2] if len(argv) > 2 else None)
else:
print()
print(__doc__.strip())
if __name__ == '__main__':
sys.exit(main())