Page 1 of 1

[Magick++] ThumbnailImage

Posted: 2010-09-24T12:11:50-07:00
by DaleyKD
Looking thru the code, I think I noticed that Magick++ does not seem to implement Magick's ThumbnailImage and StripImage functions. Am I oblivious and missing something, or am I correct? If I'm correct, is there another/better way of creating thumbnails using Magick++ that results in small file sizes?

Otherwise, what is the process to request that these two simple functions be included? I have included them in my code, but I'd hate to have to readd them every time I update my libs.

Thanks,
Kyle

Re: [Magick++] ThumbnailImage

Posted: 2010-09-24T12:19:35-07:00
by magick
Thumbnail() and Strip() are convenience methods. Instead, use resize() and remove any profiles with profile().

Re: [Magick++] ThumbnailImage

Posted: 2010-09-25T13:10:02-07:00
by DaleyKD
Thanks! That worked nicely.

As soon as I did that, and instead of resize used sample, and made it 64-bit, what took 20 minutes on an older machine with not as much RAM now only takes 2.5 seconds on my Core i7 920 + 6 GB RAM.

This is beautiful. Thanks!