OPERATOR / VERSION 1.0

galaxy_imagej_crop

Galaxy · Data processing · Visualization

Crop a rectangular region from an image.

View manifest JSON ↗

Use this operator

operator: galaxy_imagej_crop@1.0

Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.

Named ports

  • sourceInputbytes

    One PNG bytes stream. The adapter accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The crop must be fully inside the source raster.

    Formats: Any compatible format
  • resultOutputbytes

    PNG bytes. The adapter accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The crop must be fully inside the source raster.

Output structure and samples are provided by operator inference.

Parameters

  • xintegerOptional

    Zero-based left pixel.

    How to fill
    Zero-based left pixel. · Minimum: 0 · Maximum: 511
    Example value
    1
    Default value
    1
  • yintegerOptional

    Zero-based top pixel.

    How to fill
    Zero-based top pixel. · Minimum: 0 · Maximum: 511
    Example value
    1
    Default value
    1
  • widthintegerOptional

    Crop width in pixels.

    How to fill
    Crop width in pixels. · Minimum: 1 · Maximum: 512
    Example value
    2
    Default value
    2
  • heightintegerOptional

    Crop height in pixels.

    How to fill
    Crop height in pixels. · Minimum: 1 · Maximum: 512
    Example value
    1
    Default value
    1

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: galaxy_imagej_crop@1.0
inputs:
  source: read_source
params:
  x: 1
  y: 1
  width: 2
  height: 1

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/01a03ccd9661e9e6bb4d7ad40d816a1d66dbf88927a09f41ec028e8996d1260b/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'GALAXY-LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/0edf5da821de32631cf20d8cd0fe548f4b3425e4b20fc88e8f86927f6213f508/GALAXY-LICENSE.txt'
sha256sum -- 'GALAXY-LICENSE.txt'

Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.

Source and licensing

See Source archive under Artifact details

Source repository
https://github.com/bgruening/galaxytools
Source revision
cf3d3559b6102373ee65693e99e4ed928d459deb
License (publisher declared)
AFL-3.0 AND MIT
License text
Available below
Dependency SBOM
Dependency SBOM not provided

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.

Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.