Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, March 16, 2010 12:01:13 PM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 766


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
File Attachment(s):
NET - v16 - Embed Multipage Thumbnails.zip (353kb) downloaded 26 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.032 seconds.