Giter VIP home page Giter VIP logo

magick-pango-babashka's Introduction

ImageMagick + Pango + Babashka = ♥️

A Docker image to power your pictures + text compositions.

Usage

Here's an example adapted from https://imagemagick.org/Usage/text/

docker run --rm -v $(pwd)/output:/output cospaia/magick-pango-babashka convert -background lightblue pango:"Anthony Thyssen" /output/pango.gif

Note that we use the convert command here, where the original example uses magick. This is because ImageMagick < 7 didn't have the magick command. See about versions below.

To generate the image decorating this repository, you can copy the examples folder to your computer and from inside it run:

docker run -v "$(pwd)":/work -w /work cospaia/magick-pango-babashka examples/compose.clj output/composition.png

Check the examples/compose.clj script:

Versions

These are the versions reported on my machine:

$ docker run cospaia/magick-pango-babashka convert -version
Version: ImageMagick 6.9.11-60 Q16 aarch64 2021-01-25 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(4.5) 
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib

$ docker run cospaia/magick-pango-babashka pango-view --version
pango-view (pango) 1.50.6

Note. The image is based on Ubuntu, which as of this writing only has packages for ImageMagick version 6.9.

License

MIT. See license file.

magick-pango-babashka's People

Contributors

pez avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.