cyotek / imagelistview

Automatically exported from code.google.com/p/imagelistview
5 stars 0 forks source link

Improved support for multipage tiffs #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Awesome piece of work...very nice!
I'd like to use your imagelistview for displaying thumbnails of tiff files 
(documents not photos). This works fine but I'd like to be able to select the 
page within the file to use as the thumbnail when items are added. Can you 
offer some direction on where to start? At the moment I am creating my own 
thumbnails and passing those as I add the file but I suspect it will be faster 
to do all this within your optimized code.
Thanks for your help.
Regards,
Quentin

Original issue reported on code.google.com by QuentinG...@gmail.com on 19 Nov 2012 at 11:03

GoogleCodeExporter commented 9 years ago
I gave this some thought but I couldn't come up with a clean way to support 
this feature natively. Your best option at the moment would be to create a 
custom adapter and use your own version of the ThumbnailExtractor. You can 
start by copying the existing ThumbnailExtractor and change a few lines:

http://code.google.com/p/imagelistview/source/browse/trunk/ImageListView/Thumbna
ilExtractor.cs#559
http://code.google.com/p/imagelistview/source/browse/trunk/ImageListView/Thumbna
ilExtractor.cs#341

Thanks,
Ozgur

Original comment by oozcitak on 12 Dec 2012 at 12:26