{"api_version":2,"name":"galaxy_imagej_subtract","version":"1.0","role":"transform","type":"sdk","description":"Subtract a constant from each pixel.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"value":{"type":"integer","default":2,"minimum":0,"maximum":255,"description":"Gray levels to subtract."}},"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 clips to 0–255 and rounds half up."},"outputs":{"result":"PNG bytes. The adapter accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The output clips to 0–255 and rounds half up."},"parameters":{"value":{"description":"Gray levels to subtract.","help":"Gray levels to subtract.","example":2}},"example_job":"name: Subtract a constant from each pixel.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/imagej_subtract-source.png\n    view: bytes\n- id: process\n  operator: galaxy_imagej_subtract@1.0\n  inputs:\n    source: read_source\n  params:\n    value: 2\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"python","entrypoint":"galaxy_imagej_subtract","config":{}},"source_public":true,"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"provenance":{"source_archive":{"sha256":"0ecb3d7618f9223588d982e17a79ef985da812de51984a2fd10991a775face7e","size":21800,"filename":"galaxy_imagej_subtract-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":"ccd9149b73337838e71bec6fd2831f25923629647fb0ec7bf3591066a8293970","size":18127,"filename":"operator.zip"},"categories":["Galaxy","Data processing","Visualization"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795073945442},"publication":{"author":"dacp-examples","submitted_at_ms":1795073829786,"approved_at_ms":1795073945442,"last_submitted_at_ms":1795073829786,"last_approved_at_ms":1795073945442},"download_count":3}