API for white outline around image?

Is there an API services that allows you to have a white outline around an image object?

e.g: