Operations

If you have any doubts on how to use this, make sure you read our Getting Started guide.

  • :operation is the main manipulation you want to do with your image.

Cover

Use cover when you want an image with an exact width and height. By default we'll run our Smart Cropping algorithm to identify the main subject of the image, so in case we need to remove part of the image to deliver on the requested size, we will always try our best to keep the most important element in the frame.

Example

https://service.imageboss.me /cover /300x300 /http://imageboss.me/examples/02.jpg




Cover Modes

The cover operation accepts an extra parameter called :mode. It must be used if you think the default behaviour isn't what you're looking for.

Example

https://service.imageboss.me /cover:center /320x320 /http://imageboss.me/examples/02.jpg





Algorithm Based Modes

/cover:smart

Content Aware Cropping (default)


https://service.imageboss.me /cover:smart /320x320 /http://imageboss.me/examples/02.jpg




/cover:attention

Focuses on the region with the highest luminance frequency, colour saturation and presence of skin tones.


https://service.imageboss.me /cover:attention /320x320 /http://imageboss.me/examples/02.jpg




/cover:entropy

Shannon Entropy Algorithm.


https://service.imageboss.me /cover:entropy /320x320 /http://imageboss.me/examples/02.jpg




Directional Modes

If you don't want to use any of the algorithms above you can always tell us the region of the image you want us to focus on.

Available modes are: north, northeast, east, southeast, south, southwest, west, northwest and center.


Example


https://service.imageboss.me /cover:northeast /320x320 /http://imageboss.me/examples/01.jpg