Search found 2972 matches

by Bonzo
2007-02-05T11:34:59-07:00
Forum: Users
Topic: Need help with montage
Replies: 3
Views: 11556

Re: Need help with montage

I have not worked with animations much but I have some examples on my site: http://www.rubblewebs.co.uk/imagemagick/animation.php

There are also examples on Anthony's site : http://www.imagemagick.org/Usage/ you will need to find the correct page.
by Bonzo
2007-02-04T14:16:54-07:00
Forum: Users
Topic: Need help with montage
Replies: 3
Views: 11556

Re: Need help with montage

Try append: exec("/usr/local/bin/convert -background white -bordercolor black -border 1 -gravity Center R.gif u.gif b.gif b.gif l.gif e.gif w.gif e.gif b.gif s.gif +append textbw.gif"); This will put the images in a row exec("/usr/local/bin/convert -background white -bordercolor black...
by Bonzo
2007-02-03T14:44:41-07:00
Forum: Users
Topic: Add text below Picture
Replies: 4
Views: 14243

I have had a similar problem along with others when it comes to text. All I can suggest is upload a font to the same folder as the code and try to add the font path to the code. In this case I have uploaded Arial.ttf exec("convert -size 500x500 Capture005.jpg -thumbnail 250x250 -gravity South -...
by Bonzo
2007-02-03T14:04:20-07:00
Forum: Users
Topic: Add text below Picture
Replies: 4
Views: 14243

There was a similar post here: http://redux.imagemagick.org/discourse-server/viewtopic.php?t=8320 exec("convert -size 500x500 old.jpg -thumbnail 150x150 -gravity South -bordercolor black -border 1x1 -background Black -splice 0x15 -fill white -draw 'text 0,0 \"150x150 23kb\"' new.jpg&q...
by Bonzo
2007-02-03T07:55:56-07:00
Forum: Users
Topic: How to insert rotate images or text over a image?
Replies: 4
Views: 21387

You will need to add a position using the -geometry comand.

Code: Select all

exec("/usr/local/bin/convert background_image.jpg \( top_image.jpg -rotate \"-25\" \) -geometry +43+70 -composite output_image.jpg"); 
by Bonzo
2007-02-03T05:09:29-07:00
Forum: Users
Topic: How to insert rotate images or text over a image?
Replies: 4
Views: 21387

Give this a go:

Code: Select all

exec("/usr/local/bin/convert background_image.jpg \( top_image.jpg -rotate \"-25\" \) -composite output_image.jpg"); 
by Bonzo
2007-02-02T10:50:18-07:00
Forum: Users
Topic: text is invisible on my host
Replies: 2
Views: 9121

You could try uploading a font to the same directory as your code and see if that works. I tend to use "true type fonts". In this case I have uploaded verdana.ttf to the folder <?php exec("/usr/local/bin/convert -background lightblue -fill black -font verdana.ttf -size 250x40 -pointsi...
by Bonzo
2007-01-28T07:56:51-07:00
Forum: Users
Topic: Remove colors
Replies: 1
Views: 7082

Code: Select all

exec("convert original.jpg -monochrome new.jpg");
Or

Code: Select all

exec("convert original.jpg -black-threshold 80% new.jpg");
I think the results will depend on the original image, you may want to do some other comands on it first to reduce the amount of colours etc.
by Bonzo
2007-01-28T03:44:05-07:00
Forum: Users
Topic: Backslash ("\") instead of Text?
Replies: 0
Views: 6277

It must be the way the server is setup or the version of ImageMagick used as it worked OK for me. I would try: exec("convert -size 500x500 old.jpg -thumbnail 150x150 -gravity South -bordercolor black -border 1x1 -background Black -splice 0x15 -fill white -draw \" text 0,0 '150x150 23kb' \&...
by Bonzo
2007-01-26T15:25:46-07:00
Forum: Users
Topic: Reading out image size of vector files with ImageMagick
Replies: 4
Views: 12613

Thats interesting macorama although I needed to change the first part of the code to:

Code: Select all

$cmd = "identify -verbose ".$sourcefile; 
exec("$cmd 2>&1", &$o, $r);
Although I can not at the moment think of a use for it in my case :(
by Bonzo
2007-01-21T11:16:00-07:00
Forum: Users
Topic: character set
Replies: 3
Views: 11555

Right after a further test I find that if I change the "Encode in ANSI" to "Encode in UTF-8" in my editor ( Notepad+++ ). I get all the characters in the code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF8" /> </head> <body> <?...
by Bonzo
2007-01-21T10:28:20-07:00
Forum: Users
Topic: character set
Replies: 3
Views: 11555

There is a section that may help you out part way down this page: http://www.cit.gu.edu.au/~anthony/graphics/imagick6/text/ Edit : I tried this and the output is below exec("/usr/local/bin/convert -background lightblue -fill black -font comicbd.ttf -size 320x140 -pointsize 20 caption:\"IiI...
by Bonzo
2007-01-12T15:42:42-07:00
Forum: Users
Topic: Rotating changes colors
Replies: 2
Views: 8373

If you are using php you could use the example code on this page and see what happens http://www.rubblewebs.co.uk/imagemagick/animation.php This actualy creating an animation but you could modify the code. Also the center point of the image moves; if you look back over my posts you should see a repl...
by Bonzo
2007-01-10T14:29:38-07:00
Forum: Users
Topic: how to "shave" a group of graphics
Replies: 2
Views: 8671

I would use -crop : http://www.imagemagick.org/script/comma ... s.php#crop

Code: Select all

-crop 250x350 +0+0
Untested code :?
by Bonzo
2007-01-07T13:23:25-07:00
Forum: Users
Topic: transparent watermark
Replies: 5
Views: 17181

Interesting el_supremo; trouble is I have not had a lot to do with graphics and still do not understand the different colour specifications along with masks and transparency!

I have tested your code and it works Ok for me using both northeast & southeast.

Version: ImageMagick 6.2.8