开发者

How does one display thumbnail images for TGA files with OpenFileDialog?

Is it possible to show TGA t开发者_StackOverflowhumbnails in OpenFileDialog? When using the System.Windows.Controls.OpenFileDialog control to browse image folders Windows 7, it will show preview thumbnails icons for JPG, PNG, or BMP image files. Unfortunately, Windows does not show previews for TGA files. However, Windows does show TGA preview thumbnails in Windows Explorer. Is there an extension or setting that will show TGA thumbnails in OpenFileDialog?

OpenFileDialog shows thumbnails for JPG files:

How does one display thumbnail images for TGA files with OpenFileDialog?

OpenFileDialog does NOT show TGA thumbnails:

How does one display thumbnail images for TGA files with OpenFileDialog?

However, Explorer DOES show TGA thumbnails:

How does one display thumbnail images for TGA files with OpenFileDialog?


An artist at my company provided a solution. Windows 7 has no built-in support for TGA thumbnails, but there are 3rd party applications such as MysticThumbs that add support for TGA files. In fact, the only reason Windows Explorer showed TGA thumbs in my example was because I had MysticThumbs installed. However, the application's OpenFileDialog did not show thumbnails because it was a 32-bit application and I had installed the 64-bit version of MysticThumbs. I installed the 32-bit version of MysticThumbs in addition to the 64-bit version, and now I see TGA thumbnails in both Windows Explorer and my 32-bit application.


FreeImage.NET can also open TGA images.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜