GitHub

ImageTransformInput

import { ImageTransformInput } from '@daffodil/driver/shopify'

The available options for transforming an image.

All transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored.

type ImageTransformInput = {
    crop?: InputMaybe<CropRegion>;
    maxHeight?: InputMaybe<Scalars['Int']['input']>;
    maxWidth?: InputMaybe<Scalars['Int']['input']>;
    preferredContentType?: InputMaybe<ImageContentType>;
    scale?: InputMaybe<Scalars['Int']['input']>;
}