I need to load images & videos from a folder (e.g. JPG, GIF, PDF, MP4). The files don't have an extension.
As I need only one thumbnail per file, currently I use the following functions:
//in case of PDF
//in all other cases (images + videos)
ImageEnMView.AppendImage(Path + IEM_Path_Index_Delimiter);
Problem: With the above code, images are loaded rapidly, but the loading of videos is extremely slow.
Question: Is there a more appropriate way to get one thumbnail per file for PDF, images, multiframe images and videos?