Re: [PHP] Imagick question

2009-11-05 Thread Ashley M. Kirchner
Ashley Sheridan wrote: Fill the background with white before you create the corners. Well, I tried that, with no luck. This is my actual code: $width = 150; $height = 150; $im = new Imagick('original/' . $filename); $im->thumbnailImage($width, $height, true); $im->s

Re: [PHP] Imagick question

2009-11-05 Thread Ashley Sheridan
On Thu, 2009-11-05 at 12:22 -0700, Ashley M. Kirchner wrote: > Brady Mitchell wrote: > > I'm sure it can be done, but without seeing your code we can't really > > help. > Easily solved. From the PHP manual > (http://www.php.net/manual/en/function.imagick-roundcorners.php): > > >

Re: [PHP] Imagick question

2009-11-05 Thread Ashley M. Kirchner
Brady Mitchell wrote: I'm sure it can be done, but without seeing your code we can't really help. Easily solved. From the PHP manual (http://www.php.net/manual/en/function.imagick-roundcorners.php): newPseudoImage(100, 100, "magick:rose"); $image->setImageFormat("png");