The problem is that you did not select the active frame from which you will create the thumbnail.
I canβt check this on my current computer because I donβt have the Windows API on it, but it gives you the standard PDF thumbnail, because in your code you did not specify which page to use for thumbnail.
Try to do something like this:
Image image = new Image(); //Load image here int frameindex = 1; // Page number you want to use for thumbnail Guid guide = image.FrameDimensionsList[0]; FrameDimension fDimension = new FrameDimension(guide); image.SelectActiveFrame(fDimension, frameindex); //Then go on to extract your thumbnail
source share