[Magick++] ThumbnailImage

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
DaleyKD
Posts: 11
Joined: 2010-09-01T12:17:24-07:00
Authentication code: 8675308

[Magick++] ThumbnailImage

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: [Magick++] ThumbnailImage

Post by magick »

Thumbnail() and Strip() are convenience methods. Instead, use resize() and remove any profiles with profile().
DaleyKD
Posts: 11
Joined: 2010-09-01T12:17:24-07:00
Authentication code: 8675308

Re: [Magick++] ThumbnailImage

Post 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!
Post Reply