ImageTransformInput
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.
import { ImageTransformInput } from '@daffodil/driver/shopify'
type ImageTransformInput = {
crop?: InputMaybe<CropRegion>;
maxHeight?: InputMaybe<Scalars['Int']['input']>;
maxWidth?: InputMaybe<Scalars['Int']['input']>;
preferredContentType?: InputMaybe<ImageContentType>;
scale?: InputMaybe<Scalars['Int']['input']>;
}
Type | Options |
---|---|
ImageTransformInput | {
crop?: InputMaybe<CropRegion>;
maxHeight?: InputMaybe<Scalars['Int']['input']>;
maxWidth?: InputMaybe<Scalars['Int']['input']>;
preferredContentType?: InputMaybe<ImageContentType>;
scale?: InputMaybe<Scalars['Int']['input']>;
} |