Search found 5 matches

by lastchansen
2019-01-21T07:17:36-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 10086

Re: Using pango with convert

Omg :D

That's exactly what I needed.

Thank you so much!
by lastchansen
2019-01-21T02:10:44-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 10086

Re: Using pango with convert

Thank you so much for the reply :) Imagemagick is so cool, but sometimes there seem to be too many features.

The first "wall" is my wallpaper, the second is the output onto which the text is printed. I have set up a cronjob to update the image every 30 minutes as I often add/remove notes from the ...
by lastchansen
2019-01-19T20:04:20-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 10086

Re: Using pango with convert

I use pango several other places and with the simple example, pango works just fine with imagemagick :)

[chansen@Georg ~]$ pacman -Qi imagemagick
Name : imagemagick
Version : 7.0.8.23-1
Description : An image viewing/manipulation program
Architecture : x86_64
URL : https://www.imagemagick.org ...
by lastchansen
2019-01-19T19:33:14-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 10086

Re: Using pango with convert

Sorry :) I'll try to be more clear.


What version of IM?
Version: 7.0.8.23-1

Your syntax is bad. You should read an image, then process it, then write it. You process the image (eg "-draw") before you have read it.

Yeah, I know my syntax is bad but the script currently works flawlessly as ...
by lastchansen
2019-01-19T18:15:36-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 10086

Using pango with convert

I have been trying to get small script working over the last few hrs and this is what I came up with:

#!/bin/bash
notes=$(cat /home/chansen/Nextcloud/notes.md)
convert -geometry x1080\
-fill '#00000050'\
-draw "rectangle 50,50 530,970"\
-pointsize 20 \
-fill '#ffff99'\
-draw "text 70,100 ...