Search found 309 matches

by mkoppanen
2013-01-18T03:04:45-07:00
Forum: IMagick
Topic: PHP Imagick cannot set image background color
Replies: 5
Views: 15635

Re: PHP Imagick cannot set image background color

Hello, imagick::setImageBackgroundColor maps to http://www.imagemagick.org/api/magick-image.php#MagickSetImageBackgroundColor imagick::setBackgroundColor maps to http://www.imagemagick.org/api/magick-property.php#MagickSetBackgroundColor These methods don't apply reading PNGs with transparency if I ...
by mkoppanen
2013-01-18T03:00:17-07:00
Forum: IMagick
Topic: Intermittent 500 internal server error
Replies: 1
Views: 6691

Re: Intermittent 500 internal server error

Check if your ImageMagick is compiled with openmp, as that seems to cause issues on certain operating systems (noticed it on Debian Squeeze)
by mkoppanen
2013-01-18T02:52:24-07:00
Forum: Bugs
Topic: MagickGetImageLength is 0 after cloning MagickWand
Replies: 5
Views: 9681

MagickGetImageLength is 0 after cloning MagickWand

Hello, I've encountered issue where MagickGetImageLength seems to return 0 after cloning MagickWand. The problem seems to be here: Index: MagickCore/image.c =================================================================== --- MagickCore/image.c (revision 10647) +++ MagickCore/image.c (working cop...
by mkoppanen
2011-08-02T13:47:34-07:00
Forum: Bugs
Topic: [Fixed][invalid] Perl magick segfault
Replies: 14
Views: 29228

Re: Perl magick segfault

Actually,

can you test the following configure line:

Code: Select all

./configure --disable-openmp
[code]

This eliminates the segfault for me.
by mkoppanen
2011-08-02T13:29:17-07:00
Forum: Bugs
Topic: [Fixed][invalid] Perl magick segfault
Replies: 14
Views: 29228

Re: Perl magick segfault

Hi,

I managed to make the error go away by accidentally removing a ton of libraries (dependencies of X11) and recompiling ImageMagick. I am now trying to trace back my steps and see which one of the dependencies caused the error to go away.
by mkoppanen
2011-08-02T12:30:01-07:00
Forum: Bugs
Topic: [Fixed][invalid] Perl magick segfault
Replies: 14
Views: 29228

Re: Perl magick segfault

Debugging further: This is the output when of LD_PRELOAD=/usr/lib/libuuid.so gdb --args php examples/client.php (gdb) run Starting program: /usr/local/bin/php examples/client.php [Thread debugging using libthread_db enabled] [New Thread 0x7ffff0e57700 (LWP 25866)] [New Thread 0x7ffff0656700 (LWP 258...
by mkoppanen
2011-08-02T10:09:44-07:00
Forum: Bugs
Topic: [Fixed][invalid] Perl magick segfault
Replies: 14
Views: 29228

Re: Perl magick segfault

Hi,

looks like the issue goes away if I LD_PRELOAD uuid.so. Still unsure what the actual issue is.
by mkoppanen
2011-08-02T09:42:42-07:00
Forum: Bugs
Topic: [Fixed][invalid] Perl magick segfault
Replies: 14
Views: 29228

Re: Perl magick segfault

Hi,

I just stumbled upon this same issue: https://github.com/mkoppanen/php-zmq/issues/11, http://usrportage.de/archives/922-PHP-s ... agick.html

It seems that the issue is not limited to PerlMagick. will investigate further.
by mkoppanen
2010-11-21T16:18:05-07:00
Forum: MagickWand
Topic: drawsetresolution and drawgetresolution
Replies: 2
Views: 12133

Re: drawsetresolution and drawgetresolution

For the getting something like the following should work: WandExport MagickBooleanType DrawGetResolution(DrawingWand *wand, double *x,double *y) { assert(wand != (DrawingWand *) NULL); assert(wand->signature == WandSignature); if (wand->debug != MagickFalse) (void) LogMagickEvent(WandEvent,GetMagick...
by mkoppanen
2010-11-18T05:02:40-07:00
Forum: IMagick
Topic: QueryFontMetrics / Resolution
Replies: 3
Views: 12851

QueryFontMetrics / Resolution

Hello,

I recently received the following bug report http://pecl.php.net/bugs/bug.php?id=19907, which I am not sure about. Should the QueryFontMetrics honour resolution?
by mkoppanen
2010-11-18T04:57:55-07:00
Forum: IMagick
Topic: How to install IMagick : PHP 5.3.1
Replies: 1
Views: 7489

Re: How to install IMagick : PHP 5.3.1

Hello,

as you don't specify an operating system I will assume you are on unix-like OS. You can install Imagick with the command:

Code: Select all

pecl install imagick
by mkoppanen
2010-05-02T13:41:35-07:00
Forum: IMagick
Topic: undefined function imagick_isimageequal
Replies: 2
Views: 8410

Re: undefined function imagick_isimageequal

Hello,

for this function you need Imagick 0.9.x. Imagick 2.x.x or newer does not support the procedural API.
by mkoppanen
2010-05-02T13:40:56-07:00
Forum: IMagick
Topic: Erratic behavior of new Imagick()
Replies: 3
Views: 10606

Re: Erratic behavior of new Imagick()

Hi,

the error means that the image could not be read. Imagick before 3.0.0 sent out wrong error message for read failures. Most likely the error is that 'gs' command is not in $PATH
by mkoppanen
2010-03-15T16:58:49-07:00
Forum: IMagick
Topic: setColorSpace RGB results in negative image
Replies: 13
Views: 29123

Re: setColorSpace RGB results in negative image

Hello,

looks like set/getColorSpace is missing from Imagick which are needed for setting colorspace before reading an image. I'll add these methods tomorrow. Can someone confirm in which version of ImagickMagick they were added or have I just missed them from the start?
by mkoppanen
2010-03-12T16:15:38-07:00
Forum: MagickWand
Topic: gravity in operations
Replies: 2
Views: 12959

gravity in operations

Hello,

regarding: http://pecl.php.net/bugs/bug.php?id=17083, is MagickSetImageGravity supposed to affect MagickCompositeImage?