Search found 19 matches

by teracow
2017-10-19T15:45:37-07:00
Forum: Users
Topic: SOLVED - how to ensure blurred text has enough padding?
Replies: 4
Views: 3850

Re: how to ensure blurred text has enough padding?

Ah, good thinking Fred. That should have occurred to me. :D I found this does what I want: convert -size x100 -font Century-Schoolbook-L-Bold-Italic -background none -stroke black -strokewidth 10 label:"\ abcdefg" -blur 0x5 -fill goldenrod1 -stroke none label:"\ abcdefg" -flatten "gallery.title.png ...
by teracow
2017-10-19T15:07:15-07:00
Forum: Users
Topic: SOLVED - how to ensure blurred text has enough padding?
Replies: 4
Views: 3850

SOLVED - how to ensure blurred text has enough padding?

Hello, I'm using: $ convert -version Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC ... on Debian Stretch 9.1 Problem: the left-side of the image cuts off the nice blurred shadow behind the yellow title text. When I then add ...
by teracow
2016-06-17T18:26:55-07:00
Forum: Users
Topic: SOLVED - How do I specify font usage order? (fallback fonts)
Replies: 8
Views: 11575

Re: SOLVED - How do I specify font usage order? (fallback fonts)

I'm trying to keep the code portable so as to reduce the config-work required for the end-user. I have a couple IM scripts that use fonts which don't reside on all my computers. I keep the scripts in their own folders, and keep a copy of the OTF or TTF font file right in the same folder. To use the ...
by teracow
2016-06-17T15:20:14-07:00
Forum: Users
Topic: SOLVED - How do I specify font usage order? (fallback fonts)
Replies: 8
Views: 11575

Re: SOLVED - How do I specify font usage order? (fallback fonts)

fmw42 wrote:The fall back font is the default system font. You would have to change that in your OS.
I'm trying to keep the code portable so as to reduce the config-work required for the end-user.

Thanks Fred. 8)
by teracow
2016-06-17T13:38:57-07:00
Forum: Users
Topic: SOLVED - How do I specify font usage order? (fallback fonts)
Replies: 8
Views: 11575

Re: How do I specify font usage order? (fallback fonts)

So, I wrote this: #!/bin/bash # Return the first preferred font name available to ImageMagic. If none found then return "". function WantedFonts { local font_list="" font_list+="Century-Schoolbook-L-Bold-Italic\n" font_list+="Droid-Serif-Bold-Italic\n" font_list+="FreeSerif-Bold-Italic\n" font_list ...
by teracow
2016-06-17T12:32:33-07:00
Forum: Users
Topic: SOLVED - How do I specify font usage order? (fallback fonts)
Replies: 8
Views: 11575

Re: How do I specify font usage order? (fallback fonts)

I was worried that might be the case... lol...

Thanks snibgo.
by teracow
2016-06-17T12:07:42-07:00
Forum: Users
Topic: SOLVED - How do I specify font usage order? (fallback fonts)
Replies: 8
Views: 11575

SOLVED - How do I specify font usage order? (fallback fonts)

Hello, using: ImageMagick 6.8.9-8 Q16 x86_64 2016-05-31 on: OpenSUSE 13.2 64b Anyone know how I can specify a particular font to use, but if that is not available, the fallback font(s) to use? convert -size x100 -font "Century-Schoolbook-L-Bold-Italic" -background white -stroke black -strokewidth 1 ...
by teracow
2016-06-08T00:13:05-07:00
Forum: Users
Topic: SOLVED - How to generate gradient background in montage?
Replies: 2
Views: 3016

Re: How to generate gradient background in montage?

So, I did this: #!/bin/bash # build gallery montage "*[0]" -background none -shadow -geometry 400x400 "gallery-foreground.png" # get image dimensions read -r width height <<< $(convert -ping "gallery-foreground.png" -format "%w %h" info:) # create a black image with white sphere in centre convert ...
by teracow
2016-06-07T22:24:41-07:00
Forum: Users
Topic: SOLVED - How to generate gradient background in montage?
Replies: 2
Views: 3016

SOLVED - How to generate gradient background in montage?

Hello, using: ImageMagick 6.8.9-8 Q16 x86_64 2016-05-05 on: OpenSUSE 13.2 64b Is there a way to generate a gradient fill for the background in montage? I've only seen solid colours used in examples. And the default (white) is a little hard on the eyes... ;) I'd like to do a diagonal gradient from ...
by teracow
2016-06-07T21:21:09-07:00
Forum: Users
Topic: SOLVED - How to create a top border only?
Replies: 2
Views: 6181

Re: How to create a top border only?

Ah, awesome! Thanks GeeMack. :)
by teracow
2016-06-07T20:43:18-07:00
Forum: Users
Topic: SOLVED - How to create a top border only?
Replies: 2
Views: 6181

SOLVED - How to create a top border only?

Hello, using: ImageMagick 6.8.9-8 Q16 x86_64 2016-05-05 on: OpenSUSE 13.2 64b Is there a way to use montage or convert to add a border to my (thumbnail gallery of images) image but only on the top edge? I haven't been able to figure out how to do this on only one side of the resulting image. The ...
by teracow
2016-05-28T23:22:10-07:00
Forum: Users
Topic: montage - ignore specific file?
Replies: 2
Views: 2979

Re: montage - ignore specific file?

Okiedoke. Thanks Fred. :)
by teracow
2016-05-28T21:14:35-07:00
Forum: Users
Topic: montage - ignore specific file?
Replies: 2
Views: 2979

montage - ignore specific file?

Hello, using: ImageMagick 6.8.9-8 Q16 x86_64 2016-05-05 on: OpenSUSE 13.2 64b Is there a way to force montage to grab everything in a directory except for specific files? Or will I need to send it a list of files (minus the ones I dont want)? if I have these files: a.gif b.jpeg c.png d.abc and then ...
by teracow
2016-05-28T20:07:48-07:00
Forum: Users
Topic: SOLVED - montage - only get first frame of multi-image files?
Replies: 3
Views: 4530

Re: montage - only get first frame of multi-image files?

So, instead of:

Code: Select all

$ montage * output.png
I'm now using:

Code: Select all

$ montage *[0] output.png
which is correctly grabbing only the first frame of each image.

Thanks!