GetThumbnail Performance #1410
-
To get the thumbnail of an image I use: var thumbnail = myMagickImage.Thumbnail(width, height); Which works fine, and it does some nice things like removing the metadata; however, it is slow and requires the whole image to be read and modified in memory - is there a faster way ? For example, some formats store an embedded thumbnail. I ask as some of the images I have are huge (5000 x 4000 +) thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For some formats your might be able to get the information. The |
Beta Was this translation helpful? Give feedback.
-
I've worked through this and I use the EXIF profile to get a fast thumbnail and fall back to resize when not available. This works perfectly, thanks |
Beta Was this translation helpful? Give feedback.
I've worked through this and I use the EXIF profile to get a fast thumbnail and fall back to resize when not available. This works perfectly, thanks