Public Repository

Last pushed: 2 years ago
Short Description
Dynamic image generator. Can generate png, jpg and gif images at various resolutions.
Full Description

msa-fakeimage

Dynamic image generator. Can generate png, jpg and gif images at various resolutions.

Built with the fakeimage ruby app.

Quick start

Execute the microservice container with the following command :

docker run -ti -p 9905:80 msagency/msa-fakeimage

Example(s)

To get a png image of dimensions 850x50, just specify the size (width x height) in the url :

/fakeimage/850x100.png

Specify the background color with the color parameter, specify either a color name (the full list is available on the imagemagick website) :

/fakeimage/850x100.png?color=DeepSkyBlue

Or you can use a hex code, starting with ! instead of # :

/fakeimage/50x500.jpg?color=!4bfc57

You can also change the text color with the textcolor parameter :

/fakeimage/850x100.jpg?color=black&textcolor=!43ff00

Endpoints

Standard endpoints

About

A project by the Microservices Agency.

Docker Pull Command
Owner
msagency