Search found 2972 matches
- 2007-09-18T02:36:30-07:00
- Forum: Users
- Topic: Watermark an entire directory
- Replies: 9
- Views: 27254
Re: Watermark an entire directory
I only found out about Glob this year as well and it does simplfy things.
- 2007-09-17T14:34:34-07:00
- Forum: Users
- Topic: Watermark an entire directory
- Replies: 9
- Views: 27254
Re: Watermark an entire directory
That is strange nic; I suppose the server setup can have an effect. I did loop through the directory the first time I tried it ( second bit of code ): http://www.rubblewebs.co.uk/imagemagick/code.php You could use glob instead as that would be a shorter code. foreach (glob($dir."{*.jpg,*.png,*....
- 2007-09-17T13:17:15-07:00
- Forum: Users
- Topic: Problems creating a mask
- Replies: 1
- Views: 4264
Re: Problems creating a mask
The main differance I can see between your examples is the one that works has convert and the one that does not has usr/bin/convert Is this the correct path ? I can use either usr/local/bin/convert and convert; as convert is shorter I stick to that. It worked for me but I changed the code to: exec(&...
- 2007-09-15T00:51:40-07:00
- Forum: Users
- Topic: Watermark an entire directory
- Replies: 9
- Views: 27254
Re: Watermark an entire directory
It worked Ok for me nic I am using 6.5.4 and 6.5.5. You could try changing the \" to ' and see if that has any effect. According to the way I read the ImageMagick website something like this should work but dosen't for me. mogrify watermark.gif *.jpg -gravity south -composite I get the error mo...
- 2007-09-14T11:36:36-07:00
- Forum: Users
- Topic: Watermark an entire directory
- Replies: 9
- Views: 27254
Re: Watermark an entire directory
I am glad you got sorted OK nic.
I think you need to do something like this:
Acording to the ImageMagick site -composite should work but it does not for me using 6.3.4
I think you need to do something like this:
Code: Select all
mogrify -draw \"image Over 100,100 225,225 watermark.gif\" *.jpg
- 2007-09-10T10:55:00-07:00
- Forum: Users
- Topic: convert is making animated gif
- Replies: 4
- Views: 9277
Re: convert is making animated gif
How are you creating your image php ? I was not thinking when I posted and included the escape character \ It worked Ok for me but it looks like the " is the problem. Try replaceing the \" with ' If you have The_Sunday_Times it would probably be OK, for some reason the space character caus...
- 2007-09-10T00:01:25-07:00
- Forum: Users
- Topic: convert is making animated gif
- Replies: 4
- Views: 9277
Re: convert is making animated gif
Your problem may be the Label ? I would use annotate or draw: convert -size 414x35 xc:white -fill black -font arial-bold -pointsize 24 -gravity west -annotate +0+0 \"The Sunday Times\" -font arial -pointsize 12 -gravity east -annotate +0+0 \"19.08.07\" sundaytimes.gif I can not c...
- 2007-09-06T13:24:35-07:00
- Forum: Users
- Topic: i can't seem to run imagemagick commands on an image url.
- Replies: 6
- Views: 13703
Re: i can't seem to run imagemagick commands on an image url.
Oh well so much for those ideas !
- 2007-09-06T13:14:08-07:00
- Forum: Users
- Topic: i can't seem to run imagemagick commands on an image url.
- Replies: 6
- Views: 13703
Re: i can't seem to run imagemagick commands on an image url.
From one of Anthonys replys to a similar problem: IM did not find a wget delegate to download the URL Could wget be the problem ? Also I would not have all the " and use relative paths rather than absolute. convert http://www.thisisvlad.com/gallery/albums/NYC/Guggenheim_7_001.sized.jpg -colorsp...
- 2007-09-06T10:32:13-07:00
- Forum: Users
- Topic: Using montage
- Replies: 1
- Views: 4664
Re: Using montage
It could be done if you are using php. All the calculations etc. would be done with php and you then put the results into a php code. I have a couple of examples showing you the sort of thing that can be done on my site; look at this page: http://www.rubblewebs.co.uk/imagemagick/other.php
- 2007-09-06T10:25:23-07:00
- Forum: Users
- Topic: converting php string to shell command
- Replies: 7
- Views: 14721
Re: converting php string to shell command
Expanding on Anthonys post try this and see what the output is.
Code: Select all
exec("/usr/bin/convert $from -fill yellow -pointsize 30 -draw 'text 10,35 \"message\"' $to_anno 2>&1", $array);
print_r($array);
- 2007-09-06T05:21:59-07:00
- Forum: Users
- Topic: Creating pdf 1.4 with imagemagick
- Replies: 4
- Views: 9209
Re: Creating pdf 1.4 with imagemagick
I am afraid I do not know how to check which version you have installed. All I can say is search google.
- 2007-09-04T11:50:08-07:00
- Forum: Users
- Topic: Creating pdf 1.4 with imagemagick
- Replies: 4
- Views: 9209
Re: Creating pdf 1.4 with imagemagick
At a guess it depends on your version of Ghostscript ?
- 2007-09-04T07:26:52-07:00
- Forum: Users
- Topic: Merging / overlapping several images
- Replies: 1
- Views: 4668
Re: Merging / overlapping several images
I have been looking at something similar using php - http://www.rubblewebs.co.uk/imagemagick/TESTS/combined.jpg You could probably modify the code to what you want. I am making my images look missaligned on purpose ! I am still working on the code for automaticaly aligning the images. You can use a ...
- 2007-09-02T07:23:31-07:00
- Forum: Users
- Topic: trim does not remove the black border from JPEG
- Replies: 4
- Views: 11977
Re: trim does not remove the black border from JPEG
I have never used trim but try adding +repage
Code: Select all
convert input.jpg -trim +repage output.jpg