Skip to content

Pre-process move-original fails with "Conversion between raster formats not supported" #15

Open
@NoelAbrahams

Description

@NoelAbrahams

Hi,

We have been using the pre-process move-original feature in order to store the original image.

The source images are of various mime types, but we are attempting to save them all as .jpg.

{
  "application_id": "YOUR_APP_ID",
  "src": "http://example.com/image.png",
  "pre_process": {
    "move_original": {
      "azure_destination": {
        "account_name": "account",
        "shared_access_signature": "https://foo.blob.core.windows.net/sample/image.jpg"
      }
    }
  }
}

This works fine when the source image is .jpg, but fails for other types such as .png or .gif.

The error reported is

Image processing failed. Conversion between raster formats not supported. Please just output via job functions and save

or

Image processing failed. .gif -> .jpg conversion unsupported here

Incidentally, using a the no_op function to store the original does work.

I would expect the move-original feature to work the same.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions