Layer an image over the original image.
image
Required. The URL of an image to layer on top of the original image.
gravity
A gravity value specifying the position of the layered image. See Chevalet::Filters for information on gravity.
x, y
The x- and y-offsets of the layered image in pixels from the sides as
determined by the gravity parameter.
blend
The blend mode to use when compositing the two images. See Chevalet::Filters for information on blend modes.
resize
Geometry string describing a transformation on image. See Chevalet::Filters for information on geometry
strings.
rotate
A number of degrees to rotate image.
Overlay an image onto the center of another without any fancy blending:
[{
"filter": "layer",
"params": {
"image": "http://hey.czechmyjugs.com/get/dongs.png",
"gravity": "center"
}
}]
Apply an additive blend between two images:
[{
"filter": "layer",
"params": {
"image": "http://hey.czechmyjugs.com/get/tortoise.jpg",
"blend": "add"
}
}]