JPEG data to Blob Slow and Large

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
s7726
Posts: 2
Joined: 2011-08-04T23:28:28-07:00
Authentication code: 8675308

JPEG data to Blob Slow and Large

Post by s7726 » 2011-08-17T17:36:47-07:00

I'm working with image data coming from a DSLR, the data is ~5Mb in memory and when written to disk. When i try to read it into a Magick::Blob it takes a long time ~25sec and the temp file that ImageMagick creates grows to about ~115Mb. Is there a way to speed up the process and reduce the memory footprint? I'm just using it to make the images smaller for thumbnails. If the colors aren't perfect or it comes out a little blurry I'll be ok.

I'm using the Triangle filter and bringing the images down to 320x240

Thanks

Post Reply