rust-image-write-app

September 30, 2020 ยท View on GitHub

Write some text on a url based image with only requests. This is useful for url image markdowns.

Demo

The URL must be formatted like this: https://image-write-app.herokuapp.com/?x=<x>&y=<y>&size=<fontsize>&text=<text>&url=<url>

ParameterDescription
<x>X position of the text
<y>Y position of the text
<fontsize>Font size of the text
<text>Text itself
<url>Base Image URL

All parameters must be URL encoded. (You can use a URL Encoder)

The URL you provide has to return an image on request. (And yes you can provide another image-write-app url to write multiple texts.)

Example

Nested Example

TODO

  • Specifying colors for the text
  • Filters on the base image
  • Color-only images without url
  • Gradient-only images without url
  • Specifying fonts for the text
  • Drawing geometry other than text