fb

Instructions to use imageace

Preview how all of the options work
Example generated url:

https://img.acecloud.hr/dummy/contain:strategy=attention/200x200/watermark=wmkPath:/sampleImages/logo.png,wmkWidth:100,wmkPosition:southwest,wmkPadding:10,wmkTransparency:10;blackWhite/sampleImages/sampleImageDog.jpg

Breakdown:
https://img.acecloud.hr/
dummy
/
contain
:
strategy=attention
/
200x200
/
wmkPath:/sampleImages/logo.png,wmkWidth:100,wmkPosition:southwest,wmkPadding:10,wmkTransparency:10
blackWhite
/
sampleImages/sampleImage.jpg

source
Source is name of the source added in your profile
operation
Operation is one of the available operations:
options
Options is one of the available options specific to operation:
OperationOptions
width
height
cover

strategy - Strategy to crop image. Possible values are: entropy, attention. Entropy focuses on area with highest Shannon entropy. Attention focuses on area with highest luminance frequency, colour saturation and presence of skin tones.

gravity - Directional area of image to use. Possible values are: north, northeast, east, southeast, south, southwest, west, northwest, center

contain

background - Sets background color to fill empty space around image

fill
inside
outside
dimensions
Dimensions specific to operation:
OperationDimensions example
width200
height200
cover200x200
contain200x200
fill200x200
inside200x200
outside200x200
watermark
Watermark to be used on images:
blackWhite
Should image be black & white
tint
Add custom colorization to image. Provide r, g and b values from 0 to 255 to apply custom colors.
rotate
Rotate image. Possible value is between 0 and 360. All other values have no impact.
mirror
Apply mirror effect on image. Provide x or y depending on what axis you want perform mirror.
path
Path to image
Path to image in your source. Include all folders