Can I add a colored box overlay?

You can upload to your account any 1x1 solid colored image, for example this 1x1 grey square (you're more than welcomed to upload that one to your account):
http://res.cloudinary.com/demo/image/upload/v1394707379/one_pixel.jpg

Then, apply this image as an overlay while setting it by your required dimensions. 
For example, overlaying the 'one_pixel' image, stretching it to 60x60 pixels on top of the "face_left" image:
http://res.cloudinary.com/demo/image/upload/w_200/l_one_pixel.png,w_60,h_60/face_left.jpg

In addition, you can colorize the square to any other color, as explained here. For example:
http://res.cloudinary.com/demo/image/upload/w_200/l_one_pixel.png,w_60,h_60,e_colorize,co_red/face_left.jpg

You can even ask the overlay to be automatically placed on top of a detected face:
http://res.cloudinary.com/demo/image/upload/w_200/l_one_pixel.png,w_60,h_60,e_colorize,co_red,g_face/face_left.jpg

And finally, opacity is supported too:
http://res.cloudinary.com/demo/image/upload/w_200/l_one_pixel.png,w_60,h_60,e_colorize,co_red,g_face,o_50/face_left.jpg

Have more questions? Submit a request

Comments

Powered by Zendesk