{"api_version":2,"name":"galaxy_imagemagick_resize","version":"1.0","role":"transform","type":"sdk","description":"Resize a grayscale image by a percentage using nearest-neighbor sampling.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"percent":{"type":"integer","default":50,"minimum":1,"maximum":400,"description":"Output size as a percentage of source dimensions."}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"One PNG bytes stream. The adapter accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The output preserves raw gray levels."},"outputs":{"result":"PNG bytes. The adapter accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The output preserves raw gray levels."},"parameters":{"percent":{"description":"Output size as a percentage of source dimensions.","help":"Output size as a percentage of source dimensions.","example":50}},"example_job":"name: Resize a grayscale image by a percentage using nearest-neighbor sampling.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/imagemagick_resize-source.png\n    view: bytes\n- id: process\n  operator: galaxy_imagemagick_resize@1.0\n  inputs:\n    source: read_source\n  params:\n    percent: 50\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"python","entrypoint":"galaxy_imagemagick_resize","config":{}},"source_public":true,"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"provenance":{"source_archive":{"sha256":"8aeb8216e01476467da8fa7840cc3aea77dc64dc753e517a8aa980e89f38964a","size":21517,"filename":"galaxy_imagemagick_resize-sources.zip"},"source_repository":"https://github.com/bgruening/galaxytools","source_revision":"cf3d3559b6102373ee65693e99e4ed928d459deb","license":"AFL-3.0 AND MIT","license_file":{"sha256":"0edf5da821de32631cf20d8cd0fe548f4b3425e4b20fc88e8f86927f6213f508","size":1116,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile src/*.py with the python-arrow@2.0 builder. The adapter uses only Python's standard library and the shared XStream SDK. See upstream-manifest.json and fixtures.json for evidence."},"artifact":{"sha256":"925986817a0f89a71793abb5803f59f203a5ddf9228dc1814bfc951de1486620","size":18162,"filename":"operator.zip"},"categories":["Galaxy","Data processing","Visualization"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795074397411},"publication":{"author":"dacp-examples","submitted_at_ms":1795074383166,"approved_at_ms":1795074397411,"last_submitted_at_ms":1795074383166,"last_approved_at_ms":1795074397411},"download_count":3}