Skip to content

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

License

Notifications You must be signed in to change notification settings

MegaCrafter/rust-image-write-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-image-write-app

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>

Parameter Description
<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

About

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

Resources

License

Stars

Watchers

Forks

Languages