Search found 7 matches
- 2011-08-29T00:38:05-07:00
- Forum: Users
- Topic: Help me to optimize command please
- Replies: 1
- Views: 3490
Re: Help me to optimize command please
Thanks to fmw42, the problem resolved in thread viewtopic.php?f=1&t=19348
- 2011-08-28T05:59:56-07:00
- Forum: Users
- Topic: How do I determine good pointsize for my watermark?
- Replies: 7
- Views: 12424
Re: How do I determine good pointsize for my watermark?
... wm_width=500 wm_text="testing" wm_angle=45 wm_opacity=50 src_filename="freckles2.jpg" outfile="freckles2_text.jpg" data=`convert -gravity center -fill grey75 -font verdana \ -size $wm_width label:$wm_text \ -format "%wx%hx%[label:pointsize]" info:` wd=`echo "$data" | cut -dx -f 1` ht=`echo ...
- 2011-08-27T11:49:15-07:00
- Forum: Users
- Topic: Help me to optimize command please
- Replies: 1
- Views: 3490
Help me to optimize command please
The following commands consume CPU too much :( Please, help me optimize it. # Prepare watermark PNG convert -background transparent \ \( -fill grey75 -font DejaVu-Sans-Condensed \ -size $wm_width label:$wm_text \ -gravity center \) \ \( +clone -fill white -size $wm_width \ label:$wm_text \ -roll -3 ...
- 2011-08-27T11:44:09-07:00
- Forum: Users
- Topic: How do I determine good pointsize for my watermark?
- Replies: 7
- Views: 12424
Re: Terrible CPU consumption :(
The following commands consume CPU too much :( Please, help me optimize it. # Prepare watermark PNG convert -background transparent \ \( -fill grey75 -font DejaVu-Sans-Condensed \ -size $wm_width label:$wm_text \ -gravity center \) \ \( +clone -fill white -size $wm_width \ label:$wm_text \ -roll -3 ...
- 2011-08-25T05:27:18-07:00
- Forum: Users
- Topic: How do I determine good pointsize for my watermark?
- Replies: 7
- Views: 12424
Re: How do I determine good pointsize for my watermark?
I've managed to produce diagonal text with it's copy of +10+10 offset and white color: # ... convert -background transparent \ \( -fill grey75 -font "$WM_FONT" \ -size $WM_SIZE label:"$WM_TEXT" \) \ \( +clone -fill white -size $WM_SIZE label:"$WM_TEXT" -roll -10-10 \) \ -reverse -composite \ -rotate ...
- 2011-08-25T01:00:24-07:00
- Forum: Users
- Topic: How do I determine good pointsize for my watermark?
- Replies: 7
- Views: 12424
Re: How do I determine good pointsize for my watermark?
You could specify the size you want and use label: to set the point size automatically rather than using -draw. see http://www.imagemagick.org/Usage/text/ http://www.imagemagick.org/Usage/text/#label Thank you very much! This partially solved my problem. However, I cannot find how to specify offset ...
- 2011-08-24T06:01:23-07:00
- Forum: Users
- Topic: How do I determine good pointsize for my watermark?
- Replies: 7
- Views: 12424
How do I determine good pointsize for my watermark?
Hi! How do I obtain good pointsize for text depending on the image I print the text on? Particularly, I'm making script to stamp watermakrs automatically on a wide variety of images(canvas sizes). I've made bash script for testing: #!/bin/bash - #{{{ Parse CLI args function my_split_str() { if ...