Hello,
I have the content of a folder (containing images) displayed as thumbnails in a ThumbnailViewer. Now I'd like to save this displayed content as a big jpg file (as I would make a screenshot of Windows Explorer with big symbols enabled), I want to have a jpg file with the folder content thumbnails as tiles in it. How can I realize this?
THX!
Saving content of a ThumbnailViewer as new big jpg?
Moderator: Alex
Re: Saving content of a ThumbnailViewer as new big jpg?
Hello,
I think you should:
I think you should:
- Get a list of image files in the directory
- Calculate size of big "screenshot" image and create big "screenshot" image
- For each image file in the directory
- Create a VintasoftImage object associated with image file: VintasoftImage VSImage = VintasoftImage(filename);
- Get a thumbnail of image using the GetThumbnail method of the VintasoftImage class: Image thumbnail = VSImage.GetThumbnail(new Size(100, 100));
- Draw thumbnail on the big "screenshot" image using the OverlayCommand class
Re: Saving content of a ThumbnailViewer as new big jpg?
Thanks, that works so far!