Search found 2972 matches

by Bonzo
2007-04-09T11:06:43-07:00
Forum: Users
Topic: Mosaic two pngs, one without and one with alpha
Replies: 10
Views: 21890

Re: Mosaic two pngs, one without and one with alpha

Are you just trying to add shadow to an image? If so try this for your second line:

Code: Select all

convert final.png -composite NW20Vq1.png -composite shadow_test.png
by Bonzo
2007-04-08T07:22:27-07:00
Forum: Users
Topic: Grumble - search function on site...
Replies: 1
Views: 6454

Re: Grumble - search function on site...

I am also wondering if there is something wrong with search as I looked for image and it only came up with 4 results oldest post 7 april that was in all forums.
my original search of texture came up with no results in all forums !
by Bonzo
2007-04-08T06:12:15-07:00
Forum: Users
Topic: Transparent "feathering"
Replies: 5
Views: 15374

Re: Transparent "feathering"

I do not know if this is what you are trying to acheive but I have used a bit of code from Anthony's examples to blend 2 images together.

An example on this page - www.rubblewebs.co.uk/imagemagick/other.php - one hard edged blend and one soft edge blend.
by Bonzo
2007-04-08T00:14:15-07:00
Forum: Users
Topic: Convert Problem
Replies: 1
Views: 6710

Re: Convert Problem

-size I just use when resizing jpg images it is supposed to speed up the process.

Code: Select all

convert pic0002.tiff -size x760 -resample 72 -quality 85 pic0002.jpg
// Should be
convert pic0002.tiff -resize x760 -resample 72 -quality 85 pic0002.jpg
by Bonzo
2007-04-07T05:25:13-07:00
Forum: Users
Topic: Fresh install - want to use with Coppermine Gallery
Replies: 1
Views: 7244

Re: Fresh install - want to use with Coppermine Gallery

I would have looked on the Coppermine Gallery gallery forum first rather than here. There are loads of posts about ImageMagick. Try running this and use the path that is output: <?php header("Content-Type: text/plain"); system("exec 2>&1; type convert"); // My output is: conv...
by Bonzo
2007-04-05T11:47:57-07:00
Forum: Users
Topic: no decode delegate for this image format
Replies: 10
Views: 42787

Re: no decode delegate for this image format

From this page: http://www.imagemagick.org/script/formats.php
JP2 RW JPEG-2000 JP2 File Format Syntax Requires jasper-1.600.0.zip

Is that the problem ?
by Bonzo
2007-04-04T12:23:10-07:00
Forum: Users
Topic: php code exicution time
Replies: 3
Views: 10300

Re: php code exicution time

I have done another test for the post and the result was: I have a couple of problems at the moment and so I have just knocked together some code to resize an image. GD method // Temporary upload image name $original_image = 'flowers.jpg'; // Get the image dimensions $size=GetImageSize( $original_im...
by Bonzo
2007-04-04T11:32:11-07:00
Forum: Users
Topic: php code exicution time
Replies: 3
Views: 10300

php code exicution time

In reply to a question on another forum I did a test and here is the post: Thats strange; the code for GD in the example I tried is: $canvas = imagecreate( 200, 100 ); $black = imagecolorallocate( $canvas, 0, 0, 0 ); $white = imagecolorallocate( $canvas, 255, 255, 255 ); imagefilledrectangle( $canva...
by Bonzo
2007-04-04T04:54:59-07:00
Forum: Users
Topic: concat jpgs vertically one after the other
Replies: 2
Views: 8277

Re: concat jpgs vertically one after the other

append should do it:

Code: Select all

exec("/usr/local/bin/convert -background white -gravity Center A.jpg B.jpg -append output.jpg");
by Bonzo
2007-03-31T08:54:35-07:00
Forum: Users
Topic: Can preview but not display corrupt JPEG
Replies: 1
Views: 7379

Re: Can preview but not display corrupt JPEG

I think the preview you see is the EXIF thumbnail not the original image.
by Bonzo
2007-03-28T05:10:52-07:00
Forum: Users
Topic: convert/mogrify adding whitespace on some images
Replies: 3
Views: 10256

Re: convert/mogrify adding whitespace on some images

How about posting your code ?
by Bonzo
2007-03-24T02:27:15-07:00
Forum: Users
Topic: Compose image yields odd results
Replies: 10
Views: 24170

Re: Compose image yields odd results

As you say there is an error on the shirt jpg as when I download and try opening it I get the following errors: Premature end of JPEG file Exif data will be ignored. Corrupt JPEG data: 167854 exteneous bytes before marker 0xd9 Exif data will be ignored. JPEG downstream contains no image Exif data wi...
by Bonzo
2007-03-23T14:47:21-07:00
Forum: Users
Topic: Compose image yields odd results
Replies: 10
Views: 24170

Re: Compose image yields odd results

How about adding some links to your images ?

I would use convert shirt.jpg image.jpg -composite result.jpg
by Bonzo
2007-03-15T12:26:07-07:00
Forum: Users
Topic: Using imagemagick to fill unused area of aspect with color
Replies: 7
Views: 19369

Re: Using imagemagick to fill unused area of aspect with color

The third part of the $size array is a file type e.g. $size[2] Returns an array with 4 elements. Index 0 contains the width of the image in pixels. Index 1 contains the height. Index 2 is a flag indicating the type of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(intel by...
by Bonzo
2007-03-15T01:28:43-07:00
Forum: Users
Topic: Using imagemagick to fill unused area of aspect with color
Replies: 7
Views: 19369

Re: Using imagemagick to fill unused area of aspect with color

Glad you got what you wanted maffp; the other way I did it was to create a canvas at a set size and place the resized image on the canvas. I forgot I had put an example on my site http://www.rubblewebs.co.uk/imagemagick/other.php this resizes the image, saves a tempory version, puts the resized imag...