Search found 309 matches

by mkoppanen
2013-11-03T21:00:13-07:00
Forum: Bugs
Topic: JPEG related crash
Replies: 7
Views: 17035

Re: JPEG related crash

Thanks!
by mkoppanen
2013-11-03T03:27:16-07:00
Forum: Bugs
Topic: JPEG related crash
Replies: 7
Views: 17035

Re: JPEG related crash

ImageMagick 6, trunk version. This seems to be reproducible with other versions as well, tested with 6.8.7 Q16 as well
by mkoppanen
2013-10-31T11:21:13-07:00
Forum: IMagick
Topic: writeImage() in different folder with the same name
Replies: 3
Views: 9393

Re: writeImage() in different folder with the same name

Does $newPath exist? If not, you have to create it first.
by mkoppanen
2013-10-31T11:17:29-07:00
Forum: Bugs
Topic: JPEG related crash
Replies: 7
Views: 17035

Re: JPEG related crash

lldb seems to work, its the jpeg_finish_compress line: (lldb) bt * thread #1: tid = 0x2e1be, 0x00007fff906c9866 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT frame #0: 0x00007fff906c9866 libsystem_kernel.dylib`__pthread_kill + 10 frame #1 ...
by mkoppanen
2013-10-31T10:57:17-07:00
Forum: Bugs
Topic: JPEG related crash
Replies: 7
Views: 17035

JPEG related crash

Hello, the following code crashes with double-free / corruption. My GDB refuses to produce a proper backtrace: #include <wand/MagickWand.h> #include <assert.h> int main () { MagickBooleanType ret; MagickWand *wand = NewMagickWand (); assert (wand); ret = MagickReadImage (wand, "magick:rose"); assert ...
by mkoppanen
2013-10-04T04:38:42-07:00
Forum: Bugs
Topic: Magickwand-config picks up from default path
Replies: 0
Views: 5666

Magickwand-config picks up from default path

Hello, I am not sure whether this is a bug or expected behaviour but I tripped on this today. I have multiple versions of ImageMagick installed for debugging and Magickwand-config picks up the one from default PKG_CONFIG_PATH not matter which version is run (/tmp/im/bin/Magickwand-config returns one ...
by mkoppanen
2013-09-29T22:57:14-07:00
Forum: Bugs
Topic: MagickSetImageFormat / MagickWriteImageFile
Replies: 3
Views: 8198

Re: MagickSetImageFormat / MagickWriteImageFile

I tested with the following version:

$ Wand-config --version
6.8.6 Q16
by mkoppanen
2013-09-29T00:11:20-07:00
Forum: Bugs
Topic: MagickSetImageFormat / MagickWriteImageFile
Replies: 3
Views: 8198

MagickSetImageFormat / MagickWriteImageFile

Hello, following bug was reported against Imagick: Bug #64208 [Com]: writeImageFile does not respect setImageFormat (https://bugs.php.net/bug.php?id=64208) It seems that this is not Imagick specific but can be reproduced with MagickWand API: #include <wand/MagickWand.h> #include <assert.h> int main ...
by mkoppanen
2013-07-08T05:56:33-07:00
Forum: IMagick
Topic: PHP Startup: imagick: Unable to initialize module
Replies: 2
Views: 9549

Re: PHP Startup: imagick: Unable to initialize module

It looks like you have compiled Imagick against different PHP version. Try using:

Code: Select all

./configure --with-php-config=/path/to/correct/version/php-config
by mkoppanen
2013-01-21T20:35:29-07:00
Forum: MagickWand for PHP
Topic: Troubles installing MagickWand for PHP
Replies: 1
Views: 97711

Troubles installing MagickWand for PHP

Hello, I was giving MagickWand for PHP a spin after a long break and encountered three build related issues. In my environment ImageMagick is installed into /opt/imagemagick/6.8.1-9. The first issue I encountered is during MagickWand-config: checking MagickWand-config --cppflags... Package ...
by mkoppanen
2013-01-21T20:07:34-07:00
Forum: IMagick
Topic: Reading password protected PDF file
Replies: 2
Views: 10904

Re: Reading password protected PDF file

For most of the options the following should work:

Code: Select all

proto bool Imagick::setOption(string key, string value)
In this case you could try:

Code: Select all

$im->setOption("authenticate", "password");
by mkoppanen
2013-01-21T19:40:34-07:00
Forum: Bugs
Topic: MagickGetImageLength is 0 after cloning MagickWand
Replies: 5
Views: 10788

Re: MagickGetImageLength is 0 after cloning MagickWand

What I see problematic here is the assumption that user might have "CloneMagickWand() makes an exact copy of the specified wand." Maybe the documentation should be updated to reflect that it's not 1:1 copy of the original Wand (?)
by mkoppanen
2013-01-20T18:54:57-07:00
Forum: Bugs
Topic: MagickGetImageLength is 0 after cloning MagickWand
Replies: 5
Views: 10788

Re: MagickGetImageLength is 0 after cloning MagickWand

Hello, as promised, here is the reproduce code: #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <wand/MagickWand.h> #define ThrowWandException(wand) { \ ExceptionType severity;\ char *description=MagickGetException(wand,&severity);\ (void) fprintf(stderr,"%s %s %lu %s\n ...
by mkoppanen
2013-01-19T10:08:25-07:00
Forum: Bugs
Topic: MagickGetImageLength is 0 after cloning MagickWand
Replies: 5
Views: 10788

Re: MagickGetImageLength is 0 after cloning MagickWand

Hello, it seems that CloneMagickWand calls clone_wand->images=CloneImageList(wand->images,clone_wand->exception); and CloneImageList calls clone=CloneImage(images,0,0,MagickTrue,exception); which causes MagickTrue to be the parameter for detach. I will work on reproduce code and will post soon.