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");

Re: [PHP] imagick raises error

2008-12-19 Thread Jochem Maas
vuthecuong schreef: > Hi, > Currently I'm reading below page: > http://www.imagemagick.org/Usage/api/#php > When I tried imagick example of it, php raised error about function : > Imagick::readimage() . > Fatal error: Non-static method Imagick::readimage() cannot be called > statically in /usr/loca

Re: [PHP] IMagick confusion

2008-11-22 Thread Yeti
First of all .. always be careful with tainted data. Like when you $picture = $_GET['PICTURE']; be aware that this could be a security risk one day an ImageMagick exploid is circulating. At the first glance I saw a syntactical thingy that might cause problems .. case default: break; In PHP swit

Re: [PHP] Imagick installation issue

2008-06-20 Thread bornplaydie
Ok, I was having trouble posting to the 'php-general@lists.php.net' mailing list directly. All my posts are bounced. I found this forum and so I will continue here since I still have had no luck and my entire project hangs on some sort of graphic support. The server admin told me GD support is not

Re: [PHP] Imagick installation issue

2008-06-10 Thread Shawn McKenzie
BornPlayDie wrote: Yes, I forgot to mention, I did restart apache. Date: Sat, 7 Jun 2008 20:21:26 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] Imagick installation issue CC: php-general@lists.php.net On 6/7/08, BornPlayDie <[EMAIL PROTECTED]> wrote: I am try

Re: [PHP] Imagick installation issue

2008-06-09 Thread Chris
> This is the output for ldd -r for imagick.so. There are a number of > dependencies that I don't recognize > and I think there may be other packages that need to be installed. > > > > undefined symbol: zend_ce_iterator > (/usr/local/lib/php/extensions/no-debug-non-zts-20060613//imagick

RE: [PHP] Imagick installation issue

2008-06-07 Thread BornPlayDie
Yes, I forgot to mention, I did restart apache. Date: Sat, 7 Jun 2008 20:21:26 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] Imagick installation issue CC: php-general@lists.php.net On 6/7/08, BornPlayDie <[EMAIL PROTECTED]> wrote: I am trying to install Image

Re: [PHP] Imagick installation issue

2008-06-07 Thread Bastien Koert
On 6/7/08, BornPlayDie <[EMAIL PROTECTED]> wrote: > > > I am trying to install ImageMagick and Imagick on my server. I am running > the following... > > Apache version >1.3.37 (Unix) > PHP version >5.2.1 > > I have installed the following... > > ImageMagick 6.4.1 > I

Re: [PHP] [imagick] converting to variable instead of file

2003-09-06 Thread Evan Nemerson
maybe create a fifo and write to that, then read from php? On Saturday 06 September 2003 04:17 pm, Decapode Azur wrote: > I had thought too that it is possible to write a temp file for this image, > but it would be much better i think if there was another way... > > Is it really impossible to pre

Re: [PHP] [imagick] converting to variable instead of file

2003-09-06 Thread Decapode Azur
I had thought too that it is possible to write a temp file for this image, but it would be much better i think if there was another way... Is it really impossible to prevent from this hard disk access ? -- > Write it to a tem file then use file_get_contents() on the file name. > [...] > >With i

Re: [PHP] Imagick

2003-08-14 Thread daniel
yeh i have found even if you give the path the jpeg-v6 it wont configure it the first time round takes about 5 goes ! > * Thus wrote Jacob Marble ([EMAIL PROTECTED]): >> Excuse me, I accidentally sent that last incomplete message. >> I have successfully compiled PHP 4.3.3RC3 with the --with-imagic

Re: [PHP] Imagick

2003-08-14 Thread Curt Zirzow
* Thus wrote Jacob Marble ([EMAIL PROTECTED]): > Excuse me, I accidentally sent that last incomplete message. > I have successfully compiled PHP 4.3.3RC3 with the --with-imagick flag after > compiling and installing ImageMagick 5.5.7 (that was a headache on it's > own). The following error keeps c

RE: [PHP] Imagick

2003-08-12 Thread Chris Hubbard
Jacob, Yes I've used imagemagick with php. I found that none of the online documentation worked for me. I was unable to use the imagemagick class and the tutorials seemed to refer to older versions. That being said, here's some code that does work, maybe you can extrapolate from it. Feel free to