AttachmentImageFileData
Attachment's file data
graphql
type AttachmentImageFileData {
url(
background: String
enlarge: Boolean! = true
extension: AttachmentImageFileDataExtensionEnum
height: Int = 0
maxBytes: Int = 10485759
quality: Int
resizingType: AttachmentImageFileDataResizingTypeEnum! = fill
supportedExtensions: [AttachmentImageFileDataExtensionEnum!]
width: Int = 0
): String!
}
Fields
AttachmentImageFileData.url · String! non-null scalar
AttachmentImageFileData.url.background · String scalar
A hex-coded value of the color. Useful when you convert an image with alpha-channel to JPEG.
AttachmentImageFileData.url.enlarge · Boolean! non-null scalar
When true, imgproxy will enlarge the image if it is smaller than the given size.
AttachmentImageFileData.url.extension · AttachmentImageFileDataExtensionEnum enum
AttachmentImageFileData.url.height · Int scalar
Defines the width of the resulting image. When set to 0, imgproxy will calculate the resulting width using the defined height and source aspect ratio.
AttachmentImageFileData.url.maxBytes · Int scalar
When set, imgproxy automatically degrades the quality of the image until the image is under the specified amount of bytes.
AttachmentImageFileData.url.quality · Int scalar
Redefines quality of the resulting image, percentage.
AttachmentImageFileData.url.resizingType · AttachmentImageFileDataResizingTypeEnum! non-null enum
AttachmentImageFileData.url.supportedExtensions · [AttachmentImageFileDataExtensionEnum!] list enum
AttachmentImageFileData.url.width · Int scalar
Defines the height of the resulting image. When set to 0, imgproxy will calculate resulting height using the defined width and source aspect ratio.
Member Of
ImageAttachment object