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.


Use cover when you want an image with an exact width and height (crop). 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.


https://img.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.


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

Algorithm Based Modes


Content Aware Cropping (default)

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


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

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


Shannon Entropy Algorithm.

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


Face Detection Algorithm.

https://img.imageboss.me /cover:face /320x320 /http://imageboss.me/examples/07.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.


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

Focal Point

The focal point allows you to choose the exact point of interest of the image. So can allow your users to choose exactly the spot we shouldn't miss. Currently you can pass along three options fp-x, fp-z and fp-z.

fp-x and fp-y must be a float number between 0.0 and 1.0. For example, fp-x:0.5,fp-y:0.5 would be a point at the center of the image.

fp-z is how much you want to zoom-in into that fp-z and fp-z focal point.

Available Options
fp-x accepts any value between 0.0 and 1.0.
fp-y accepts any value between 0.0 and 1.0.
fp-z accepts any value between 1.0 and 10.0. (defaults to 1)

Example fp-z:2

https://img.imageboss.me /cover /320x420 /fp-x:0.3,fp-y:0.4,fp-z:2 /http://test.me/pic/06.jpg

Example fp-z:3

https://img.imageboss.me /cover /320x420 /fp-x:0.3,fp-y:0.4,fp-z:3 /http://test.me/pic/06.jpg