Search found 2972 matches

by Bonzo
2007-10-04T11:18:08-07:00
Forum: Users
Topic: How to make reflected Image thumbnails
Replies: 18
Views: 30477

Re: How to make reflected Image thumbnails

http://www.rubblewebs.co.uk/imagemagick/TESTS/temp4.png This will do part of what you want ( looks better on a black background ). // Change my image to black and white and add a border exec("convert House.jpg -colorspace Gray -bordercolor white -border 10x10 temp1.png"); // Create reflec...
by Bonzo
2007-10-04T07:42:25-07:00
Forum: Users
Topic: Need help Annotating
Replies: 1
Views: 4162

Re: Need help Annotating

I would guess there is something wrong with your instal and ImageMagick can not find a default font. Try adding the path to a known font and see if that works e.g. exec("/usr/bin/convert -size 236x130 xc:lightblue -fill black -font verdana.ttf -pointsize 25 -gravity NorthWest -annotate +0+0 \&q...
by Bonzo
2007-10-03T10:08:41-07:00
Forum: Users
Topic: How to make reflected Image thumbnails
Replies: 18
Views: 30477

Re: How to make reflected Image thumbnails

Not quite sure what you want exactly; try the code out and display each image for each line as you go. That way you will see what is creating each effect. I assume you just need this part of the code. <?php // Make an inverted copy of the original exec("convert ../original_images/House.jpg -fli...
by Bonzo
2007-10-02T09:23:55-07:00
Forum: Users
Topic: Please someone help me
Replies: 2
Views: 5933

Re: Please someone help me

Not 100% sure what you want but this will change the image dpi and resize it.

Code: Select all

convert input.jpg -density 150x150 -resize 300x300 output.jpg
by Bonzo
2007-09-29T01:12:04-07:00
Forum: Users
Topic: Abnormal crop
Replies: 1
Views: 4420

Re: Abnormal crop

Short answer no.

What you can do is use a mask to select your area then -trim the image down.
by Bonzo
2007-09-27T05:15:40-07:00
Forum: Users
Topic: How to make reflected Image thumbnails
Replies: 18
Views: 30477

Re: How to make reflected Image thumbnails

Messing about over lunch I have lost my old image. Here is one using the distort method; is a lot quicker and easer than the previous FX method. http://www.rubblewebs.co.uk/imagemagick/TESTS/output_reflect3.jpg <?php // Make an inverted copy of the original exec("convert ../original_images/Hous...
by Bonzo
2007-09-27T00:08:42-07:00
Forum: Users
Topic: verticle text
Replies: 7
Views: 15292

Re: verticle text

You can rotate text with annotate http://www.imagemagick.org/script/comma ... p#annotate but I still do not think thats what you want ?

What did my example above look like compared to what you want ?
by Bonzo
2007-09-26T14:22:30-07:00
Forum: Users
Topic: verticle text
Replies: 7
Views: 15292

Re: verticle text

Something like this ? convert -size 40x400 xc:white -fill black -pointsize 8 -draw \"line 0,8 5,8\" -draw \" text 25,10 '5'\" -draw \"line 0,16 10,16\" -draw \" text 25,18 '10'\" -draw \"line 0,24 15,24\" -draw \" text 25,26 '15'\" -draw \&...
by Bonzo
2007-09-26T10:21:00-07:00
Forum: Users
Topic: Resizing and cropping images
Replies: 1
Views: 4259

Re: Resizing and cropping images

You have some bits in your code you do not need; try this: convert image_big.jpg -thumbnail x200 -crop 120x160+0+0 +repage -quality 91 image_120x160.jpg You are thumbnailing to 200 high and the width will stay the same ratio. If you are for instance working on a portrate image the width will always ...
by Bonzo
2007-09-26T10:13:24-07:00
Forum: Users
Topic: verticle text
Replies: 7
Views: 15292

Re: verticle text

Not quite sure what you are after Troy; are either of the texts on this page what you want ?
http://rubblewebs.co.uk/imagemagick/text.php
by Bonzo
2007-09-26T09:09:22-07:00
Forum: Users
Topic: How to make reflected Image thumbnails
Replies: 18
Views: 30477

Re: How to make reflected Image thumbnails

I had had the similar thoughts to you Anthony :lol: My code is a mishmash of another example I tried. One thing I had problems with before doing a similar distort is that what ever I tried I could not get the -fx "p{v*w,j}" to work horizontaly I had to turn it vertical to distort it then r...
by Bonzo
2007-09-25T05:33:10-07:00
Forum: Users
Topic: Tabular text to graphic missalined
Replies: 6
Views: 12535

Re: Tabular text to graphic missalined

You want a "Monospaced font"; you will have to search for one but Wiki has some info http://en.wikipedia.org/wiki/Typeface#M ... _typefaces

You give no idea how you are using ImageMagick but you should be able to give the path to the font you want to use in the code.
by Bonzo
2007-09-22T04:15:20-07:00
Forum: Users
Topic: Text Positioning
Replies: 2
Views: 10082

Re: Text Positioning

You can use -gravity Center -annotate +0+0 and modify the position with the +0+0 Or you can use -draw \"gravity center fill black text 0,0 and modify the position with the 0,0 Some examples here: http://www.rubblewebs.co.uk/imagemagick/text.php Have you checked out Anthonys examples ? http://ww...
by Bonzo
2007-09-20T12:56:36-07:00
Forum: Users
Topic: Cutting part from image with a mask
Replies: 5
Views: 10924

Re: Cutting part from image with a mask

How are you creating your mask ?

If you are using a colour would adding a -fuzz help?
by Bonzo
2007-09-20T11:12:43-07:00
Forum: Users
Topic: Crop file larger than orginal because image was changed
Replies: 3
Views: 8439

Re: Crop file larger than orginal because image was changed

Resizing a png as a test the 16bit file was 8x larger than the 8bit.

From a previous post try saving as png8:crop.png which should keep the image as 8bit.