Search found 2972 matches

by Bonzo
2007-01-07T09:31:53-07:00
Forum: Users
Topic: transparent watermark
Replies: 5
Views: 17121

I can not think of an easy way to do it. One way would be to make an image containing your text and use that to watermark your image. One thing I have noticed and that is if you use a transparent background the text does not come out very well. Anyway if nothing else is suggested you can probably ha...
by Bonzo
2007-01-06T16:35:41-07:00
Forum: MagickWand for PHP
Topic: How to use IM with PHP?
Replies: 2
Views: 13028

You are posting in the wrong part of the forum JensO - it should be under the users section.

Code: Select all

exec("/usr/local/bin/convert original_image -thumbnail max_widthxmax_height mydomain.tld/images/thumb100 ");
Some php examples on my site select the www link below.
by Bonzo
2007-01-03T14:37:45-07:00
Forum: Users
Topic: Newbie help with frames.
Replies: 5
Views: 14578

I am sure there is an example of how to add custom frames here somewhere http://www.cit.gu.edu.au/~anthony/graphics/imagick6/

If you check out my site you can see how ImageMagick can work with php
by Bonzo
2007-01-03T11:16:46-07:00
Forum: Users
Topic: Annotate Help
Replies: 5
Views: 14663

Check out the code at the bottom of this page:
http://www.rubblewebs.co.uk/imagemagick ... k_text.php

Change this to the path of your font :
-font Helvetica-Bold
If the font is in the same folder as the code
-font verdana.ttf
by Bonzo
2006-12-28T15:42:31-07:00
Forum: Users
Topic: Absolute beginner! No visible picture!
Replies: 2
Views: 9023

When you run your code an image is created in your case output.jpg - assuming you have CHMOD the foder you are working in to 777 Modify your test1.php page to this then view this page in your browser. <?php system("/usr/bin/convert images/00001022.jpg -resize 50% output.jpg"); ?> <img src=...
by Bonzo
2006-12-21T14:53:09-07:00
Forum: Users
Topic: getting started?
Replies: 3
Views: 12312

This is a very interesting answer Anthony.

Using the first example I can find out the fonts and colours installed etc.

I have never been able to get identify to work but working from your example it now works

Code: Select all

system("exec identify -verbose image.jpg");
by Bonzo
2006-12-15T17:01:05-07:00
Forum: Users
Topic: Change Image Color
Replies: 15
Views: 40979

It may be due to your file being an eps - I do not know what that is as I have never used one ! My example code uses rgb colours and you need to change those. 255, 0, 0 is a red & 170, 170, 170 is a grey colour If you still have a -fuzz it may have been enough to select the white. Change the rgb...
by Bonzo
2006-12-15T15:30:04-07:00
Forum: Users
Topic: Change Image Color
Replies: 15
Views: 40979

Try swapping the -fill and -opaque

Are you using php ? If so this worked for me

Code: Select all

<?php
exec("/usr/local/bin/convert image.png -fill rgb\(255,0,0\) -opaque rgb\(170,170,170\) newimage.png");  
?
by Bonzo
2006-12-14T02:35:26-07:00
Forum: Users
Topic: Drawing "curved" text?
Replies: 7
Views: 18158

I will have another go later Anthony. I am afraid I didn't post the code that generated the gradiant as I cheated and did it with GIMP :?
by Bonzo
2006-12-14T02:33:16-07:00
Forum: Users
Topic: Would like to auto adujust image size and type during upload
Replies: 1
Views: 7118

I have a bit of php code you can modify here: http://www.rubblewebs.co.uk/imagemagick/thumbnail.php
by Bonzo
2006-12-13T16:23:29-07:00
Forum: Users
Topic: Drawing "curved" text?
Replies: 7
Views: 18158

I do not understand what is happening here and it needs some work - I am short of time tonight. <?php exec("/usr/local/bin/convert -size 500x150 xc:black -fill white -pointsize 35 -gravity center -draw \"text 0,0 'This is some text to bend' \" text.gif"); exec("/usr/local/bi...
by Bonzo
2006-12-13T15:05:35-07:00
Forum: Users
Topic: How to delete an image?
Replies: 2
Views: 9849

I do not know how -delete works but you can do it with php:

Code: Select all

unlink("image.jpg")
by Bonzo
2006-12-13T11:20:06-07:00
Forum: Users
Topic: Drawing "curved" text?
Replies: 7
Views: 18158

Yes you can draw text in an arc.

Here is a link to Anthonys new example page with some ideas http://www.cit.gu.edu.au/~anthony/graph ... erspective
by Bonzo
2006-12-08T12:32:10-07:00
Forum: Users
Topic: OVerlapping images
Replies: 4
Views: 13660

Thanks for the notes Anthony I will have a look at the ImageMagick basics page again now that I have have had a go at most things. I hate reading things on the monitor so will have to print it out ! I have not done a lot with graphics anyway so things like masks, channels etc. are all new to me. I h...
by Bonzo
2006-12-07T16:47:58-07:00
Forum: Users
Topic: OVerlapping images
Replies: 4
Views: 13660

I have Dst_Out working now; I was using convert instead of composite :roll: