Thumbnail Viewer

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
mimo4o
Posts: 9
Joined: Fri Mar 19, 2010 5:12 pm

Thumbnail Viewer

Post by mimo4o »

Hello,
Is there a way to show page number under Thumbnail viewer's thumbnails?
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: Thumbnail Viewer

Post by Alex »

Hello,

Yes, this is possible if you will redefine view of thumbnails in the ThumbnailViewer - please see our ThumbnailViewersDemo.

Best regards, Alexander
mimo4o
Posts: 9
Joined: Fri Mar 19, 2010 5:12 pm

Re: Thumbnail Viewer

Post by mimo4o »

Hello,
I have just downloaded version 4.0 of VintasoftImagineg.NetLibrary. I tried it and have some questions:

1. In older versions i use this fragment of code to save tiff's page to stream: "tf.Pages.Save(str, new Vintasoft.Imaging.Encoders.TiffEncoder(false));". The problem was that this operation was too slow. Now with new version I rewrite this code to: "tf.Pages.Save(str, new Vintasoft.Imaging.Codecs.TiffEncoder());". But when I try to add the stream as image in ImageViewer, I get error "Wrong or unsupported image format".

2. What is the best solution to get images from tiff file, save them in streams, and then add streams to image viewer? I have to use MemoryStream but not Image, because it is transferred via WCF method!

Best regards,
Miroslav Vasilev
Post Reply