Crate text2img

Crate text2img 

Source
Expand description

Creates a png image from text. Useful to protect sensitive information from bots and scrapers, such as email addresses and telephone numbers in web pages, and even passwords sent via email

  • Png Support 8 bit rgba
  • Font Weight implemented as Random pixels
  • Png Support 1 bit monochrome - to reduce image size
  • Poisson Disk rendering

Functionsยง

rgb_to_u32
Converts a rgba u8 to a u32
text2img_internalDeprecated
Converts a text string into an image