Ask HN: Image compositing language? Is there a good language for compositing raster graphics? Putting different sub-images in different places, adding text, ... that sort of thing. |
Ask HN: Image compositing language? Is there a good language for compositing raster graphics? Putting different sub-images in different places, adding text, ... that sort of thing. |
Also, you can use the image library of Racket. You can mix bitmaps and vectorial images. See for example the https://docs.racket-lang.org/quick/index.html
The language and IDE are designed for beginners but it is not limited by it, and in fact many professional designers use it still. The documentation is great, with simple live examples of virtually every function. Here's save() for writing out an image file: https://www.processing.org/reference/save_.html
More recently, they've opened it up to make it easy to get third-party libraries for making web requests, running physics simulations, or augmenting the IDE itself.
If you're looking for something to run headless on a server, Imagemagick is a good choice.
I’ve been using ImageMagick but the CLI invocations are pretty awkward. Maybe I’m just looking for a DSL on top of ImageMagick