Hi all,

I have a C++ program which creates images, and before it was working
fine. But I have changed the way it works, and now it has become really
really slow.

Before, I create an animation of 3 frames in around 1-2 seconds, now, it
makes it in around 30 seconds. Seriously slow!

I have enabled a debug build of my app and IM library, and started gdb
to see what could cause the problem. I have found that it looping for a
very long time inside magick/quantize.c in the function Reduce()
[magick/quantize.c:2761].

It is a very strange problem, because there is a trick that I can do to
make it avoid the long-looping, but I then can't get the desired
animation:

I have a vector or Image, that I fill with transparents first. Then I
just composite other images on these images using OverCompositeOp
operator. If I use UndefinedCompositeOp or InCompositeOp, then it
doesn't trouble me. Though, it is the OverCompositeOp that I must use.

So, I'm beginning to think that this could be a bug in ImageMagick C++
binding (Magick++), and if there is a fix for this, as quick as
possible.

Any help is appreciated.
Thanks.

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to