# HG changeset patch # User bgruening # Date 1701707277 0 # Node ID 99217847314ac7a391c11c7e40ebc7561c21a08a # Parent ff05b2c4263cbf62f7107a2974939a01f40004f3 planemo upload for repository https://github.com/bgruening/galaxytools/new/gm/tools/image_processing/image_processing/ commit b81f7b8b0253917d3322c08d884a5a86a3b7e0fe diff -r ff05b2c4263c -r 99217847314a convert.xml --- a/convert.xml Sun Nov 05 14:34:35 2023 +0000 +++ b/convert.xml Mon Dec 04 16:27:57 2023 +0000 @@ -1,4 +1,4 @@ - + with GraphicsMagick macros.xml @@ -14,9 +14,18 @@ #set $trans_options = '' #end if - gm convert -resize ${resize}%x $trans_options input.${input.ext} temp.${output_format} + gm convert + -resize ${resize}%x + $trans_options + #if $palette.palette_select == "automatic" + -type Palette + #else if $palette.palette_select == "manual" + -colors '${palette.palette}' + #end if + 'input.${input.ext}' + 'temp.${output_format}' && - mv temp.${output_format} '${output}' + mv 'temp.${output_format}' '${output}' ]]> @@ -28,6 +37,18 @@ + + + + + + + + + + + + @@ -62,6 +83,23 @@ + + + + + + + + + + + + + + + + +