Search found 2972 matches
- 2006-12-07T12:00:59-07:00
- Forum: Users
- Topic: OVerlapping images
- Replies: 4
- Views: 15033
- 2006-12-05T12:27:41-07:00
- Forum: MagickWand for PHP
- Topic: how to execute imagick commands in php?
- Replies: 3
- Views: 18175
I found you can use relative paths OK rather than absolute ones. Also I have found that using ../../www/ etc. causes a problem as ImageMagick interperates it as something else. If you want to use something like ../../www/ put it into a variable instead and use the variable in the exe comand. $image ...
- 2006-12-02T13:34:23-07:00
- Forum: MagickWand for PHP
- Topic: how to execute imagick commands in php?
- Replies: 3
- Views: 18175
The way I do it is:
Some php examples at www.rubblewebs.co.uk/imagemagick
Code: Select all
exec("/usr/local/bin/convert cmyk.tif -colorspace gray gray.tif ");
- 2006-11-27T15:48:19-07:00
- Forum: Users
- Topic: point me in the right direction w/annotate?
- Replies: 3
- Views: 15999
I have not seen this ${'Photo' . $counter} = $Name . '-'.$_FILES['Image']['name']".jpg"; before but that does not mean much as I am learning php
Give that a go.
Code: Select all
$Photo[$counter] = $Name . "-".$_FILES['Image']['name']".jpg";
- 2006-11-27T15:03:09-07:00
- Forum: Users
- Topic: point me in the right direction w/annotate?
- Replies: 3
- Views: 15999
- 2006-11-27T11:50:59-07:00
- Forum: Users
- Topic: point me in the right direction w/annotate?
- Replies: 3
- Views: 15999
No I do not think your code will work. To change the save path you need to put the relative or absolute paths to the folder. $new_name = $_SERVER['DOCUMENT_ROOT'] . "/images/ASP_Images/".$_FILES['Image']['name'].jpg"; OR $new_name = images/ASP_Images/".$_FILES['Image']['name'].jpg"; Depending on the ...
- 2006-11-27T11:35:01-07:00
- Forum: Users
- Topic: Clueless newbie question
- Replies: 2
- Views: 10674
This will change one colour to the next: exec("/usr/local/bin/convert image.png -fill rgb\(255,0,0\) -opaque rgb\(170,170,170\) newimage.png"); As soon as you mentioned jpg rather than gif or png I thought it would be more complicated ! At a rough guess you have 1,000 colours to change. All I can ...
- 2006-11-26T15:09:35-07:00
- Forum: Users
- Topic: Clueless newbie question
- Replies: 2
- Views: 10674
- 2006-11-26T12:28:51-07:00
- Forum: Users
- Topic: point me in the right direction w/annotate?
- Replies: 3
- Views: 15999
- 2006-11-22T16:35:05-07:00
- Forum: Users
- Topic: watermarking?
- Replies: 1
- Views: 9000
/usr/local/bin/convert = Path to imagemagick convert earth.jpg = image to be watermarked -font Helvetica = font to use -pointsize 10 = font size -draw = draw code \"gravity north = escape the " ( required in php ) watermark position in this case 12 o'clock fill black = font shadow colour text 0,12 ...
- 2006-11-22T15:57:48-07:00
- Forum: Users
- Topic: watermarking?
- Replies: 1
- Views: 9000
- 2006-11-22T15:43:23-07:00
- Forum: Users
- Topic: Improving image quality
- Replies: 11
- Views: 38882
I do not know if this helps and I am not sure how to get to the next stage but some code Anthony and I used on another problem was this: convert input.png -edge 2 -negate -despeckle output1.png Changing the -edge value increases or decreases the line width and this will leave you with a white number ...
- 2006-11-13T13:16:16-07:00
- Forum: Users
- Topic: fill transparent
- Replies: 2
- Views: 16667
You may be able to get this all on one line but this should work:
Code: Select all
convert -size 100x60 xc:skyblue -fill red -draw "roundrectangle 20,10 80,50 20,15" draw_rrect.gif
convert draw_rrect.gif -fuzz 50% -transparent red transparent.gif
- 2006-11-08T17:19:07-07:00
- Forum: Users
- Topic: CONVERT and output to another with SAME filename
- Replies: 2
- Views: 9656
I was not thinking; one problem I find is that if you put /cygdrive/e/tmp/album/IMG_1705.JPG in the code it can throw an error. If you put $image = "/cygdrive/e/tmp/album/IMG_1705.JPG "; and use $image in your code it works. I do not know why and it could just be my server setup; this is assuming ...
- 2006-11-08T16:00:56-07:00
- Forum: Users
- Topic: CONVERT and output to another with SAME filename
- Replies: 2
- Views: 9656
Can you modify the bit of code at the bottom of this page ?
http://www.rubblewebs.co.uk/imagemagick/code.php
http://www.rubblewebs.co.uk/imagemagick/code.php