Search found 32 matches

by robocop
2018-10-17T22:57:59-07:00
Forum: Users
Topic: Optimizing Imagemagick convert & composite code
Replies: 14
Views: 42971

Re: Optimizing Imagemagick convert & composite code

Thank you all for the suggestions. It was very helpful. Cheers
by robocop
2018-10-10T02:56:49-07:00
Forum: Users
Topic: Optimizing Imagemagick convert & composite code
Replies: 14
Views: 42971

Re: Optimizing Imagemagick convert & composite code

Slight alternative for the shell script loop reading full lines from a file (with spaces) One line per processing loop. while read line; do ... done < file.txt Hello there! I was hoping someone could please help me. For the life of me, i am unable to get this shell script loop reading full lines to ...
by robocop
2018-06-16T02:20:30-07:00
Forum: Users
Topic: Semi-transparent background
Replies: 2
Views: 5562

Re: Semi-transparent background

Hi Snibgo,

Thank you so much. It was just what i needed and worked perfectly. Cheers :)

Image
by robocop
2018-06-15T22:17:57-07:00
Forum: Users
Topic: Semi-transparent background
Replies: 2
Views: 5562

Semi-transparent background

Hi all ! I'm using the following wood texture background and code to generate the image below. I was wondering how to make the white rounded square background Semi-transparent so a bit of the wood texture shows through it? I have the text fully transparent and would also like the white background to ...
by robocop
2018-06-11T03:54:09-07:00
Forum: Users
Topic: Batch composite hundreds of images
Replies: 4
Views: 7738

Re: Batch composite hundreds of images

Yeah, my fault, sorry. For bash, use forward slash "/" as directory separator. And use "mkdir" to create a directory: mkdir newdir for VAR in $(ls z*.jpg) do echo $VAR composite -gravity center -geometry -0+5 $VAR back.jpg newdir/$VAR done Hi snibgo : ) Wow Thank you so much! It worked perfectly ...
by robocop
2018-06-11T03:37:27-07:00
Forum: Users
Topic: Batch composite hundreds of images
Replies: 4
Views: 7738

Re: Batch composite hundreds of images

You could put it in a for loop, for example: md newdir for VAR in $(ls *.jpg) do echo $VAR composite -gravity center -geometry -0+5 $VAR back.jpg newdir\$VAR done Hi snibgo, Thank you very much! I tried what you mentioned. I put your code in a .sh file ( composite.sh ) and ran "sh composite.sh ...
by robocop
2018-06-11T02:23:13-07:00
Forum: Users
Topic: Batch composite hundreds of images
Replies: 4
Views: 7738

Batch composite hundreds of images

Hi folks! I've searched the forums and tried several methods but i am unable to get what i need to work. Basically i have several hundred images which i would like composited onto a single common background. Common background image: https://image.ibb.co/nD3BdT/back.jpg Sample Image: https://image ...
by robocop
2017-02-27T01:35:52-07:00
Forum: Users
Topic: Transparent caption text
Replies: 2
Views: 5448

Re: Transparent caption text

Thank you snibgo!

I tried the code and unfortunately it just gave a red canvas.

I will attempt to upgrade my imagemagick on Ubuntu and try this again.

Cheers
by robocop
2017-02-27T01:30:30-07:00
Forum: Users
Topic: Textured text on fixed width & height canvas
Replies: 4
Views: 7701

Re: Textured text on fixed width & height canvas

Hi snibgo

Thank you so much for your advise and help! We basically changed the font and all is great. Many Thanks again :)
by robocop
2017-02-22T05:01:14-07:00
Forum: Users
Topic: Transparent caption text
Replies: 2
Views: 5448

Transparent caption text

Hi folks! I was wondering if it is possible to make a caption text fully transparent. http://i.imgur.com/GkG463T.png http://www.imagemagick.org/Usage/text/#caption_bestfit convert -background lightblue -fill blue -font Candice -size 320x140 \ caption:'This text is resized to best fill the space ...
by robocop
2017-02-22T04:32:36-07:00
Forum: Users
Topic: Textured text on fixed width & height canvas
Replies: 4
Views: 7701

Re: Textured text on fixed width & height canvas

v6.7.7 is very old. I suggest you upgrade. Windows BAT syntax: %IM%convert ^ texture2.jpg ^ ( -clone 0 -fill White -colorize 100 ) ^ ( -size 600x600 -gravity center -fill Black ^ caption:"WOW\nthis is\nawesome" ) ^ -composite ^ w.png For bash, escape the parentheses to \( and \), and change lines ...
by robocop
2017-02-21T02:11:04-07:00
Forum: Users
Topic: Textured text on fixed width & height canvas
Replies: 4
Views: 7701

Textured text on fixed width & height canvas

Hello folks :o I'm trying to create caption text with a textured background used for the text. I followed the directions here for the Psychedelic! sample: http://www.imagemagick.org/Usage/text/#annotate_size However, what i was hoping to accomplish was to create textured text on a fixed canvas width ...
by robocop
2015-12-08T19:36:59-07:00
Forum: Users
Topic: Optimizing Imagemagick convert & composite code
Replies: 14
Views: 42971

Re: Optimizing Imagemagick convert & composite code

Slight alternative for the shell script loop reading full lines from a file (with spaces) One line per processing loop. while read line; do ... done < file.txt Thanks a lot Anthony. This is perfect for processing full lines, something i plan on doing later on. Also to Fred and PandoraBox. This was ...
by robocop
2015-12-05T23:29:23-07:00
Forum: Users
Topic: Optimizing Imagemagick convert & composite code
Replies: 14
Views: 42971

Re: Optimizing Imagemagick convert & composite code

That code is for Windows and won't work on Unix. In Unix syntax, try cd directory_containing_wordfile.txt wordlist=`cat wordfile.txt` for word in $wordlist; do convert canvas.jpg \ \( -size 100x100 -background white -font arial.ttf \ -fill black label:"$word" -trim +repage -depth 8 \) \ -gravity ...
by robocop
2015-12-05T18:13:20-07:00
Forum: Users
Topic: Optimizing Imagemagick convert & composite code
Replies: 14
Views: 42971

Re: Optimizing Imagemagick convert & composite code

If your under windows something like this in a batch file works well also. for /F "tokens=*" %%A in (wordlist.txt) do call :process %%A goto thenextstep :process set VAR1=%1 convert -size 100x100 -background white -font arial.ttf -fill black label:"%VAR1%" -trim +repage -depth 8 %VAR1%.jpg ...