You can write a function in C ++ that tells Windows how to create thumbnails from your file. This link explains this. Check out the Thumbnail Image handler section. This is the function you need to implement.
From what I was able to understand, the procedure is as follows:
This still leaves you with the problem of extracting thumbnails from a .fig file. As far as I know, fig files are nothing but mat files. I am quite sure that this is possible.
For all shapes, you will need a custom save function. It will print a thumbnail of the image (using the print command) and save it inside the shape.
I know that this is not a lot of information, but it can help you get started. You can also ask someone who appreciates COM technology for more help. Therefore, I recommend adding a COM tag to the tag.
Change (1) . I found a good tutorial on the topic:
Andrey Rubshtein
source share