# HG changeset patch
# User imgteam
# Date 1713946393 0
# Node ID 85666e5556983eb73d088692edf6b53b8144553f
# Parent 3179853faae9e7385dee97066f481dff72c7ed7b
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/scale_image/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
diff -r 3179853faae9 -r 85666e555698 scale_image.py
--- a/scale_image.py Thu Apr 04 15:26:23 2024 +0000
+++ b/scale_image.py Wed Apr 24 08:13:13 2024 +0000
@@ -1,6 +1,7 @@
import argparse
import sys
+import giatools.io
import numpy as np
import skimage.io
import skimage.transform
@@ -10,7 +11,7 @@
def scale_image(input_file, output_file, scale, order, antialias):
Image.MAX_IMAGE_PIXELS = 50000 * 50000
- im = skimage.io.imread(input_file)
+ im = giatools.io.imread(input_file)
# Parse `--scale` argument
if ',' in scale:
diff -r 3179853faae9 -r 85666e555698 scale_image.xml
--- a/scale_image.xml Thu Apr 04 15:26:23 2024 +0000
+++ b/scale_image.xml Wed Apr 24 08:13:13 2024 +0000
@@ -4,7 +4,7 @@
creators.xml
tests.xml
0.18.3
- 0
+ 1
@@ -21,6 +21,7 @@
pillow
numpy
tifffile
+ giatools