Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add support to diagram-generator for imagemagick's convert #271

Open
julianbarg opened this issue Sep 5, 2023 · 0 comments

Comments

@julianbarg
Copy link

I've tried my hand on it, but couldn't make it work. Should be very similar to the functionality already offered by the filter. Calling convert works like this: magick convert [input-options] input-file [output-options] output-file, so all that needs to be done is to grab that output file, maybe by providing a temp file location. Here are two code snippets for experimenting:

(without input file, creates a png with the letter "a")

convert -size 300x300 xc:white -gravity center -pointsize 150 -annotate 0 "a" output.png

(with input file, combines the images b.png and c.png on top of each into a new image and draws a red box around it)

b.png c.png -append -bordercolor red -border 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant