← Back to catalog

SERVICE DETAILS

ImageMagick Service

AsynchronousSynchronous

Overview

OSCAR service for lightweight image processing with ImageMagick. For every input image, it generates a grayscale PNG, an edge-enhanced PNG, and a JSON file with width, height, brightness, contrast, and edge-density metrics. It supports both asynchronous storage-driven execution and synchronous invocations, and it bundles a didactic Jupyter notebook plus sample images for teaching and self-guided experimentation.

Deployment requirements

Memory
512 MiB
Processors
0.5 vCPU0 GPU

Software

Files & artifacts

Usage & acceptance tests

Synchronous ImageMagick acceptance test

Run the service directly with the sample image and store the returned ZIP archive containing the generated outputs.

  1. Run the service synchronously with the sample image and store the returned ZIP file.

    oscar-cli service run imagemagick --file-input {input} --output {destination}
Asynchronous ImageMagick acceptance test

Upload the sample input image, wait for OSCAR to process it, then download the generated artifacts and confirm that the grayscale PNG, edge PNG, and metrics JSON are present.

  1. Upload the sample input image to the service input path.

    oscar-cli service put-file imagemagick {source}
  2. Wait for the remote execution to generate the derived image files and metrics JSON.

    Time required: PT20S
  3. Download the latest outputs and confirm that the expected files were generated.

    oscar-cli service get-file imagemagick --download-latest-into {destination}

RO-Crate metadata