LEADTOOLS Support
Imaging
Imaging SDK Questions
HOW TO: Embed Thumbnails for Multipage TIFFs Using Custom Tags
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, March 16, 2010 12:01:13 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The TIFF specifications don't allow for embedded thumbnails for each page, but it is possible to use custom tags. Therefore you could create the thumbnail image and save it as binary data into a tag in the TIFF. The advantage with this is that you can load and display thumbnails much faster than you would if you were to first load each full size page and resize it. Of course, since this is using custom tags only your application would be able to have this feature but if you are creating and reloading multipage TIFFs and displaying thumbnails it can speed up your application's image loading time by more than 15x.
Attached is a C# 2005 example using LEADTOOLS 16.5's .NET interface. The following functions are used to accomplish this goal:
- RasterCodecs.GetInformation
- RasterCodecs.Load
- RasterCodecs.Save
- RasterImage.CreateThumbnail
- RasterImage.ReadTag
- RasterImage.WriteTag
LEADTOOLS Support
Imaging
Imaging SDK Questions
HOW TO: Embed Thumbnails for Multipage TIFFs Using Custom Tags
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.