galaxy_imagemagick_trim
Galaxy · Data processing · VisualizationRemove a fixed number of pixels from one image side.
Use this operator
operator: galaxy_imagemagick_trim@1.0Configure 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 output preserves raw gray levels.
Formats: Any compatible format - resultOutputbytes
PNG bytes. The adapter accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The output preserves raw gray levels.
Output structure and samples are provided by operator inference.
Parameters
- edgestringOptional
Side to trim.
- How to fill
- Side to trim. · Allowed values: north, east, south, west · Maximum length: 64
- Example value
- west
- Default value
- west
- pixelsintegerOptional
Number of pixels to remove.
- How to fill
- Number of pixels to remove. · Minimum: 1 · Maximum: 511
- 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_imagemagick_trim@1.0
inputs:
source: read_source
params:
edge: west
pixels: 1
Manual download
curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/25c7f31b5224d0c47a257fdd47a6b2cee30e42de01f2105075b40e9ecda63e64/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.