Search found 7 matches

by Saber850
2012-01-22T23:05:32-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

Re: How to speed up creation of animated GIFs

I just tried building ImageMagick-6.2.8 but it fails due to incompatibilities w/ libpng-1.5 (structs which used to be visible are now hidden). Disabling PNG support yields some other error about atexit. If it built and worked out of the box, I'd probably have used it as a temporary stop-gap solution ...
by Saber850
2012-01-20T05:01:06-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

Re: How to speed up creation of animated GIFs

So, the main problem is the 5 seconds for 66 frames during the save? Correct. Do you have any way to isolate that down even further? Somewhat within the save process? I have not found a way short of stepping through IM in the debugger. If not, it might be worth trying out a few different versions ...
by Saber850
2012-01-17T03:30:34-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

Re: How to speed up creation of animated GIFs

Hmmm, yeah, only 3 colors changes things. BTW, F-S is Floyd-Steinberg, the type of dither. It's an error-correction dither, so it'll be random. Heck, for 3 colors, just turn off dither. No need for it. Ok, done (no difference in perf though). Let's talk about frames, then. What's the frame delay ...
by Saber850
2012-01-15T19:21:45-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

Re: How to speed up creation of animated GIFs

I'm not sure if I made this clear, but I am creating the image from scratch entirely inside my app. I am not importing an image. The images I'm creating are extremely simplistic--each frame has a line and possibly a square or a circle. There are literally 3 colors in total: black, red, blue (plus ...
by Saber850
2012-01-15T06:18:57-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

Re: How to speed up creation of animated GIFs

What's the full code of options? Here's the options I specify per frame: Image pic(g, transparentColor); pic.page(g); // set size of frame; 'g' is a Geometry object for this frame pic.density(Geometry(72, 72) ); pic.animationDelay(10); pic.gifDisposeMethod(1); pic.compressType(RLECompression); pic ...
by Saber850
2012-01-09T12:34:31-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

Re: How to speed up creation of animated GIFs

I thought I tried setting the tree depth via quantizeTreeDepth(4) (see my original post). Is this not the proper method to use?

In my case, I am creating the frames programmatically, so I'm creating the output GIF programmatically as well (as opposed to using the pre-existing IM command-line tools).
by Saber850
2012-01-09T10:10:45-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 31286

How to speed up creation of animated GIFs

Years ago (~2006) I created an app w/ Magick++ that created animated GIFs and it worked well. I've rebuilt it yesterday (no code change) and it runs much slower: it used to take a couple seconds, now takes over a minute. The OS is mostly the same (Gentoo Linux, so many updates since 2006, including ...