Looking for an image manipulation library that can add text to images. (and has documentation for it)

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • JetBrains - Developer Ecosystem Survey 2022
  • image

    Encoding and decoding images in Rust (by image-rs)

    I believe that photon uses image internally which only provides the ability to overlay another image. The crate imageproc extends image and adds the draw_text method.

  • imageproc (PistonDevelopers)

    Image processing operations

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • simple-game

    A personal collection of windowing/graphics/game code to get started quickly on games and graphical applications

    I have a somewhat naive version of this sort of system running via wgpu, but that's likely lower level than you'd want to go.

  • piet

    An abstraction for 2D graphics.

    Piet can render text. You can use Piet_common with the BitMapTarget to generate images Here is an example.

  • intensifies

    It looks like you already found a solution and imageproc is out of date, but I'll plug an open source solution I had which accepts an image upload and adds [x intensifies] and makes the image shake, just in case it's useful as reference. https://github.com/JosephCatrambone/intensifies Looks really closely related to what you wanted? Maybe?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts