Documentation
Size
width x height
- Height and Width are Required, Add width and height as width x height (600x400). Example: https://www.easycodetools.com/dummy-img/600x400.png/000000/ffffff
- It must be the first option in the URL
Colors
background-color / text color
- Colors are represented as hex codes (#ffffff is white)
- Colors always follow the dimensions, https://www.easycodetools.com/dummy-img/600x400.png/000000/ffffff not https://www.easycodetools.com/dummy-img/000000/600x400.png/ffffff
- The first color is always the background color and the second is the text color.
- The background color is optional and defaults to gray (#cccccc)
- The text color is optional and defaults to black (#000000)
- You Have to add a full 6-digit hex code of the color.
Image Formats
.gif, .jpg, .png
- Adding an image file extension will render the image in the proper format
- The image format is optional and the default is a png
- jpg and jpeg are the same
- The image extension can go at the end of any option in the URL
- https://www.easycodetools.com/dummy-img/600x400.gif/000000/ffffff
- https://www.easycodetools.com/dummy-img/600x400/000000.gif/ffffff
- https://www.easycodetools.com/dummy-img/600x400/000000/ffffff.gif
Custom Text
&text=Hello+World
- Custom text can be entered using a query string at the very end of the URL.
- This is optional, default is the image dimensions (300×250)
- a-z (upper and lowercase), numbers, and most symbols will work fine.
- https://www.easycodetools.com/dummy-img/600x400?text=hitinfotech.com