Search found 309 matches

by mkoppanen
2008-02-04T09:54:31-07:00
Forum: IMagick
Topic: setting maximum file size
Replies: 2
Views: 8705

Re: setting maximum file size

Hi,

I don't know a direct way of doing that.
by mkoppanen
2008-02-03T12:19:38-07:00
Forum: IMagick
Topic: imagick_resize function does not exist
Replies: 3
Views: 10675

Re: imagick_resize function does not exist

For example when $im->rotateImage(ImagickPixel background,90);...it requires ImagickPixel...what is this? is it something which i have to install in addition to the imagick? ImagickPixel is a one class included in the Imagick package. You can see the classes in phpinfo();. ImagickPixel object is a ...
by mkoppanen
2008-02-02T08:32:55-07:00
Forum: IMagick
Topic: imagick_resize function does not exist
Replies: 3
Views: 10675

Re: imagick_resize function does not exist

The old procedural API was abandoned in favor of the new OOP API. Imagick 2.x versions do not support the old API. Your old server probably runs 0.9.x series.
by mkoppanen
2008-02-02T08:31:14-07:00
Forum: IMagick
Topic: Errors installing2.1.0RC3
Replies: 1
Views: 7014

Re: Errors installing2.1.0RC3

Fixed in CVS. Upgrading your PHP to 5.2 would not hurt thou.
by mkoppanen
2008-01-28T13:38:26-07:00
Forum: IMagick
Topic: strange error when drawing curves
Replies: 7
Views: 17968

Re: strange error when drawing curves

To be honest I have no idea where this error message originates: 'Non-conforming drawing primitive definition `q94''
by mkoppanen
2008-01-23T10:03:43-07:00
Forum: IMagick
Topic: Getting IPTC data
Replies: 1
Views: 6861

Re: Getting IPTC data

check Imagick::getImageProfile() and getImageProperty
by mkoppanen
2008-01-23T10:02:32-07:00
Forum: IMagick
Topic: strange error when drawing curves
Replies: 7
Views: 17968

Re: strange error when drawing curves

can you show me var_dump( $this->p ); ?
by mkoppanen
2008-01-23T01:31:27-07:00
Forum: IMagick
Topic: strange error when drawing curves
Replies: 7
Views: 17968

Re: strange error when drawing curves

Sorry, I jumped to conclusions:
'Non-conforming drawing primitive definition `Q50.7''
Is that the drawing primitive definition?
by mkoppanen
2008-01-19T15:51:44-07:00
Forum: IMagick
Topic: strange error when drawing curves
Replies: 7
Views: 17968

Re: strange error when drawing curves

Check if your phpinfo lists ini-setting imagick.locale_fix and what the value is. If it's there and it's 0 set it to 1.

If you can't see this setting in phpinfo, set the locale to "C" in your script before performing drawing operations.
by mkoppanen
2008-01-12T18:26:13-07:00
Forum: Bugs
Topic: Segmentation fault writing an image
Replies: 3
Views: 9885

Re: Segmentation fault writing an image

Looks like a I had a little older version on my 32bit. Thank you for the fix!
by mkoppanen
2008-01-12T10:57:28-07:00
Forum: IMagick
Topic: Animated gif resize
Replies: 2
Views: 8984

Re: Animated gif resize

Try this

Code: Select all

$im = new Imagick( "test.gif" );

foreach ( $im as $frame )
{
  $frame->thumbnailImage( 200, 0 );
  $frame->setImagePage( $frame->getImageWidth(), $frame->getImageHeight(), 0, 0 );
}

header( "Content-Type: image/gif" );
echo $im->getImagesBlob();

by mkoppanen
2008-01-11T09:12:20-07:00
Forum: Bugs
Topic: Segmentation fault writing an image
Replies: 3
Views: 9885

Re: Segmentation fault writing an image

I refined the code a little further. When I compile this on 32bit Linux and run it runs without a crash. On 64 bit Linux I get a segmentation fault. I don't currently have a debug build so the backtrace is not that helpfull. This seems to be happening everytime the file can not be written (dir does ...
by mkoppanen
2008-01-10T06:56:16-07:00
Forum: Bugs
Topic: Segmentation fault writing an image
Replies: 3
Views: 9885

Segmentation fault writing an image

#include <stdio.h> #include <stdlib.h> #include <wand/magick-wand.h> int main(int argc,char **argv) { MagickWand *magick_wand; magick_wand = NewMagickWand(); MagickReadImage( magick_wand, "/var/www/test.png" ); MagickWriteImage( magick_wand, "/tmp/test2.jpg" ); magick_wand = Des...
by mkoppanen
2007-12-11T06:26:00-07:00
Forum: MagickWand
Topic: Gradient filled primitives
Replies: 7
Views: 27720

Re: Gradient filled primitives

Just pinging back on this topic. Any progress?
by mkoppanen
2007-12-10T08:29:40-07:00
Forum: IMagick
Topic: opacity problem with transparent png image
Replies: 1
Views: 7196

Re: opacity problem with transparent png image

Are you using windows static build by any chance?