Do you need the colors concentric? Delete
$line->rotateImage(new ImagickPixel(), 90);
Search found 33 matches
- 2014-01-09T19:14:33-07:00
- Forum: IMagick
- Topic: How to create multigradients with PHP Imagick?
- Replies: 8
- Views: 15695
- 2014-01-08T18:59:11-07:00
- Forum: IMagick
- Topic: How to create multigradients with PHP Imagick?
- Replies: 8
- Views: 15695
Re: How to create multigradients with PHP Imagick?
Append some gradients then arc distort them <?php $file = "radialgrad.gif"; # name of output gif $w = 200; $h = 200; ### First make a rainbow line # new imagick object $img1 = new Imagick(); # some gradients $img1->newPseudoImage( 10, 100, 'gradient:red-orange' ); $img1->newPseudoImage( 10, 100 ...
- 2013-02-09T09:17:47-07:00
- Forum: IMagick
- Topic: PHP Imagick cannot set image background color
- Replies: 5
- Views: 17085
Re: PHP Imagick cannot set image background color
Here is an example changing the bgcolor of a jpeg
http://eclecticdjs.com/mike/tutorials/p ... dcolor.php
http://eclecticdjs.com/mike/tutorials/p ... dcolor.php
- 2012-06-14T09:58:55-07:00
- Forum: IMagick
- Topic: Output images to array
- Replies: 7
- Views: 19831
Re: Output images to array
Another approach would be to create a directory and fill it with PNG's and a TOC page.
- 2012-06-13T10:43:18-07:00
- Forum: IMagick
- Topic: Output images to array
- Replies: 7
- Views: 19831
Re: Output images to array
Converting PDF Files http://eclecticdjs.com/forum/viewtopic.php?f=15&t=897 Conversion from PDF to PNG under Imagick http://www.imagemagick.org/discourse-server/viewtopic.php?f=18&t=18675&p=72199&hilit=pdf+dj+mike#p72199 I didn't want it outputting files so I had it generate images on the fly but ...
- 2012-06-13T09:54:03-07:00
- Forum: IMagick
- Topic: resize animated gif
- Replies: 2
- Views: 9671
Re: resize animated gif
Try coalesceImages() Imagick::coalesceImages http://us2.php.net/manual/en/imagick.coalesceimages.php The web page says that coalesceImages() composites the frames but that isn't exactly true. You don't get a single frame as an output. Instead of having frames like a movie, some animations have a ...
- 2012-06-13T09:40:40-07:00
- Forum: IMagick
- Topic: Rotate Changes Transparency to Black
- Replies: 9
- Views: 24033
Re: Rotate Changes Transparency to Black
In your test you use: $temp_user_image->setImageFormat("png32"); I used $image->setimageformat("gif"); and didn't need to set BGcolor or alpha Maybe try $temp_user_image->setImageFormat("png"); <?php $image = new Imagick("opossum.jpg"); $image->rotateimage("transparent",30); # make it a gif for ...
- 2012-06-11T14:00:23-07:00
- Forum: IMagick
- Topic: Imagick usage for simple image attributes
- Replies: 5
- Views: 16244
Re: Imagick usage for simple image attributes
Imagick::getImageResolution
http://eclecticdjs.com/mike/tutorials/p ... lution.php
$resolution = $image->getImageResolution();
echo "<b>Resolution:</b> x=$resolution[x], y=$resolution[y]";
http://eclecticdjs.com/mike/tutorials/p ... lution.php
$resolution = $image->getImageResolution();
echo "<b>Resolution:</b> x=$resolution[x], y=$resolution[y]";
- 2012-02-28T21:53:58-07:00
- Forum: IMagick
- Topic: Animated gif, setImagePage incorrect after crop
- Replies: 4
- Views: 15368
Re: Animated gif, setImagePage incorrect after crop
Try setimagepage(). http://eclecticdjs.com/mike/temp/12/02/owl.gif Dimensions 240 x 92 Size 135691 bytes Number Of Colors 79 Format GIF Frames 25 Working cropper http://eclecticdjs.com/mike/wtv/tools/image_maker_2/crop_03.php Source http://eclecticdjs.com/mike/wtv/tools/image_maker_2/crop_03.txt ...
- 2012-01-10T21:50:55-07:00
- Forum: IMagick
- Topic: very small correction required for this code.. can you fix??
- Replies: 1
- Views: 8446
Re: very small correction required for this code.. can you f
writeImages() has two parameters. The first is the file name, the second determines if you get a multi-file out put like you got or a single file like you want. The second perimeter is Boolean. If TRUE then multi; if FALSE then single file. In your script the second perimeter is $out and since you ...
- 2011-07-26T18:53:56-07:00
- Forum: IMagick
- Topic: Problems with scaleImage
- Replies: 14
- Views: 40238
Re: Problems with scaleImage
I copied one of your images that didn't work for you and tested using only scaleImage() with the sizes 100x75 and 210x158. Both worked. Looks like the error is before scaleImage(). http://eclecticdjs.com/mike/temp/11/07/10571930_74890275.php <?php $file = "10571930_74890275.png"; $image = new ...
- 2011-07-26T18:15:43-07:00
- Forum: IMagick
- Topic: Problems with scaleImage
- Replies: 14
- Views: 40238
Re: Problems with scaleImage
*edit* Ok, I exposed one of the servers to the Internet and put a sample of images up at: http://imgarchive.autc.com/test/ The images you posted above the edit look OK but from http://imgarchive.autc.com/test/ I got http://imgarchive.autc.com/display.php?img=10571930_74890275_dt.jpg which shows me ...
- 2011-07-21T16:56:53-07:00
- Forum: IMagick
- Topic: Problems with scaleImage
- Replies: 14
- Views: 40238
Re: Problems with scaleImage
Post a link to an image that isn't working for you for us to test. I don't think this will help but you don't have a content header:
header('Content-Type: image/jpeg');
header('Content-Type: image/jpeg');
- 2011-07-19T16:55:42-07:00
- Forum: IMagick
- Topic: Morpology with PHP?
- Replies: 2
- Views: 9714
Morpology with PHP?
Is there any way to use morphology with PHP? I see no reference to it at php.net.
See:
http://www.imagemagick.org/Usage/morphology/
http://www.fmwconcepts.com/imagemagick/ ... /index.php
See:
http://www.imagemagick.org/Usage/morphology/
http://www.fmwconcepts.com/imagemagick/ ... /index.php
- 2011-05-04T23:24:26-07:00
- Forum: IMagick
- Topic: Conversion from PDF to PNG under Imagick
- Replies: 9
- Views: 30706
Re: Conversion from PDF to PNG under Imagick
I have not used exec() to use Imagemagick. In to line from Bonzo's code:
exec("convert input.pdf output.png 2>&1", $array);
what does 2>&1 do?
exec("convert input.pdf output.png 2>&1", $array);
what does 2>&1 do?