API для генерации изображений-заглушек

API URL
1 2 3 |
https://dev.tssaltan.top/api/splash/ @width x @height . @format https://dev.tssaltan.top/api/splash/ @width x @height / @background_color . @format https://dev.tssaltan.top/api/splash/ @width x @height / @background_color / @text_color . @format |
Parameters
- @width x @height — Image size in pixels, f.e. 200x500
- @background_color — Image background color in hex-format, like fff or a1b2c3
- @text_color — Text color in hex-format, like fff or ffffff
- @format — Image format, avaliable types — png, jpg, jpeg
Examples

1 |
https://dev.tssaltan.top/api/splash/250x220.jpg |

1 |
https://dev.tssaltan.top/api/splash/150x200/333/eee.png |

1 |
https://dev.tssaltan.top/api/splash/300x251/39cccc/001f3f.jpeg |

1 |
https://dev.tssaltan.top/api/splash/210x160/001f3f/ff851b.png |