public static class ImageTransformDto.ImageTransformDtoBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ImageTransformDto.ImageTransformDtoBuilder |
alphaColor(ColorDto alphaColor)
Color specification of a color that should be made transparent.
|
ImageTransformDto.ImageTransformDtoBuilder |
aspectRatio(AspectRatio aspectRatio)
The aspect ratio that the resulting image should have.
|
ImageTransformDto.ImageTransformDtoBuilder |
backgroundColor(ColorDto backgroundColor)
Color specification for the background of the image.
|
ImageTransformDto |
build() |
ImageTransformDto.ImageTransformDtoBuilder |
colorSpace(ColorSpaceDto colorSpace)
Color space for the resulting image, can for example be used to convert to grayscale.
|
ImageTransformDto.ImageTransformDtoBuilder |
crop(CropDto crop)
Contains the settings for the crop that should be taken from the original image.
|
ImageTransformDto.ImageTransformDtoBuilder |
dpi(Integer dpi)
DPI that should be used for processing the image (and in the resulting output image).
|
ImageTransformDto.ImageTransformDtoBuilder |
height(Integer height)
The height in pixels of the resulting image.
|
ImageTransformDto.ImageTransformDtoBuilder |
maxHeight(Integer maxHeight)
Maximum height of the resulting image.
|
ImageTransformDto.ImageTransformDtoBuilder |
maxWidth(Integer maxWidth)
Maximum width of the resulting image.
|
ImageTransformDto.ImageTransformDtoBuilder |
outputType(ImageTypeDto outputType)
The output type for this transform.
|
ImageTransformDto.ImageTransformDtoBuilder |
quality(Integer quality)
Quality for the created image, relevant for lossy image formats like JPEG.
|
ImageTransformDto.ImageTransformDtoBuilder |
scene(Integer scene)
The specific scene of the source image that should be transformed.
|
String |
toString() |
ImageTransformDto.ImageTransformDtoBuilder |
width(Integer width)
The width in pixels of the resulting image.
|
public ImageTransformDto.ImageTransformDtoBuilder scene(Integer scene)
this.public ImageTransformDto.ImageTransformDtoBuilder width(Integer width)
this.public ImageTransformDto.ImageTransformDtoBuilder height(Integer height)
this.public ImageTransformDto.ImageTransformDtoBuilder maxWidth(Integer maxWidth)
width, the resulting image will be downscaled to fit in the boundaries box
defined by maximum width and height (when specified).
Can be used to scale an image to fit inside this box without having to specify width or height.this.public ImageTransformDto.ImageTransformDtoBuilder maxHeight(Integer maxHeight)
height, the resulting image will be downscaled to fit in the boundaries box
defined by maximum width and height (when specified).
Can be used to scale an image to fit inside this box without having to specify width or height.this.public ImageTransformDto.ImageTransformDtoBuilder aspectRatio(AspectRatio aspectRatio)
this.public ImageTransformDto.ImageTransformDtoBuilder dpi(Integer dpi)
ImageModificationDto.getDensity() which will most likely be deprecated in the future.this.public ImageTransformDto.ImageTransformDtoBuilder crop(CropDto crop)
this.public ImageTransformDto.ImageTransformDtoBuilder quality(Integer quality)
1 and 100.
If not specified, the default quality configured on the application will be used.this.public ImageTransformDto.ImageTransformDtoBuilder backgroundColor(ColorDto backgroundColor)
ImageTransformDto.setAlphaColor(ColorDto).this.public ImageTransformDto.ImageTransformDtoBuilder alphaColor(ColorDto alphaColor)
# is supported.this.public ImageTransformDto.ImageTransformDtoBuilder colorSpace(ColorSpaceDto colorSpace)
this.public ImageTransformDto.ImageTransformDtoBuilder outputType(ImageTypeDto outputType)
this.public ImageTransformDto build()
Copyright © 2020. All rights reserved.