Page 1 of 1

get a reference to the thumbnail image

Posted: Wed Feb 17, 2010 12:43 pm
by Thomas
I'd like to get the already generated data for the thumbnail image in the thumbnailviewer.
With GetThumbnailImage the viewer is generating a new on.
How I can get this reference?
(On the event ThumbnailPainting there is e.Thumbnail ... this is what i want to have, but directly from imagecollection)

Regards
Thomas

Re: get a reference to the thumbnail image

Posted: Wed Feb 17, 2010 8:34 pm
by Alex
Hello Thomas,

What do you want to do? Maybe you want to generate thumbnail with custom appearance?

Best regards, Alexander

Re: get a reference to the thumbnail image

Posted: Wed Feb 17, 2010 8:43 pm
by Thomas
With the help of the thumbnailviewer we edit and arrange some (or more ;) )images. In parallel we generate a preview for the resulting output. In this preview we want to use the already generated thumbnail (to save some time, because this process was time critical). So I will give a handle to the image(s) to the preview.

Re: get a reference to the thumbnail image

Posted: Fri Feb 19, 2010 12:30 pm
by Thomas
Hello Alex,

do you need more info?

Regards Thomas

Re: get a reference to the thumbnail image

Posted: Thu Feb 25, 2010 10:12 am
by Alex
Hello Thomas,

Please see our Thumbnail Viewers Demo here: http://www.vintasoft.com/vsimaging-dotnet-examples.html
and read description of the Vintasoft.Imaging.ThumbnailViewer.ThumbnailPainting event in the documentation - I think these information will help you.

Best regards, Alexander

Re: get a reference to the thumbnail image

Posted: Fri Feb 26, 2010 7:29 pm
by Thomas
Hello Alexander,

no, this will not help me. This event is only fired when the image is 'in view'.
What I want to do:
- Load some images into the thumbnailviewer
- Let the user do some work with the images (change the order, select and unselect ...)
- Next step: show a preview of the result. Here I want to loop through the images of the thumbnailviewer and get the already generated thumbnailimage from the thumbnailviewer. Not the hole image (it is too large) and not a new thumbnailimage with getthumbnailimage (this take too long to generate).
Is this possible?

Regards
Thomas

Re: get a reference to the thumbnail image

Posted: Tue Mar 09, 2010 9:24 am
by Alex
Hello Thomas,

I have understood your problem - we will add ability to get thumbnails from ThumbnailViewer in version 4.1 of VintaSoftImaging.NET Library, I think in 2 months.

Best regards, Alexander

Re: get a reference to the thumbnail image

Posted: Tue Mar 09, 2010 9:56 am
by Thomas
Hello Alexander,

thanks for adding this functionality. Until 4.1 I will do a workaround and generate a second thumbnail while adding an image.
Regards
Thomas