Search found 4 matches

by vitaminwater
2015-07-09T10:11:10-07:00
Forum: Magick++
Topic: Clean Up Memory
Replies: 1
Views: 9038

Clean Up Memory

After resizing or cropping an animated gif image, what's a proper way to clean up the memory? To call DestroyImages(DestoryImageList)? I'm having a memory leak issue with animated gifs. I use JMagick, in JMagick, it calls DestroyImages to de-allocate memory. But I suspect DestroyImages doesn't clean...
by vitaminwater
2015-04-22T15:38:41-07:00
Forum: Magick++
Topic: ImagesToBlob is slow
Replies: 5
Views: 11255

Re: ImagesToBlob is slow

400x225x60 frames. Uploaded the original image here http://uploadpie.com/eEYDb. I'm using a Mac. Here's what IM has on my machine. $ convert -list resource Resource limits: Width: 214.7MP Height: 214.7MP Area: 4.295GP Memory: 2GiB Map: 4GiB Disk: unlimited File: 192 Thread: 1 Throttle: 0 Time: unlim...
by vitaminwater
2015-04-22T15:02:43-07:00
Forum: Magick++
Topic: ImagesToBlob is slow
Replies: 5
Views: 11255

Re: ImagesToBlob is slow

Thanks for the suggestion.

Is it slow because of reading/writing to disk(since memory isn't big enough)? How much memory does it need not to use disk? Also, what are you referring to as 'some systems'?
by vitaminwater
2015-04-22T14:19:01-07:00
Forum: Magick++
Topic: ImagesToBlob is slow
Replies: 5
Views: 11255

ImagesToBlob is slow

Hi, I'm building a small web server that crops/resizes gif(note: I'm using JMagick and Java). It works great but I'm having 2 issues. 1. I use coalesce and optimizeLayers method for resizing gif. The issue is converting resized gif(ImagesToBlob) to byte array is extremely slow(takes 3-4 sec for 2MB ...