ไฟล์ DDS และ TGA คืออะไร คำแนะนำเกี่ยวกับรูปแบบพื้นผิวเกม
If you're modding a game, extracting assets, or working in 3D, you've run into .DDS and .TGA files — image formats that your normal photo viewer flatly refuses to open. They're not broken; they're specialised graphics formats built for games and rendering. Here's what each one is and how to actually view and edit them.
What is a DDS file?
DDS (DirectDraw Surface) is Microsoft's texture format, used heavily in games because graphics cards can read it directly and it supports GPU-friendly compression and mipmaps (pre-scaled versions of a texture). That efficiency is exactly why standard image viewers can't open it — it's designed for a graphics engine, not a photo app.
What is a TGA file?
TGA (Truevision Targa) is an older raster format still common in games, 3D tools, and visual effects. It reliably stores an alpha (transparency) channel, which is why it stuck around for sprites, decals, and render output. Like DDS, it predates or sidesteps mainstream image support, so most everyday apps don't display it.
DDS vs TGA
DDS
GPU texture format with compression and mipmaps. Best for real-time game textures.
TGA
Simple raster format with dependable alpha support. Common for sprites and render output.
Both
Support transparency, and both convert to PNG to keep the alpha channel for editing.
How to view and edit them
Convert them to PNG or JPG. Choose PNG to keep transparency and lossless quality — essential for editing textures and sprites in Photoshop, GIMP, or any standard editor. Choose JPG only if you just need a quick, shareable preview and don't need the alpha channel. Once converted, the image opens in any tool.
Modding tip: keep the alpha channel
Game textures often rely on the transparency channel for masks and decals. Always convert DDS and TGA to PNG (not JPG) when you plan to edit — JPG can't store transparency, so you'd lose that data and break the texture.
บรรทัดล่าง
DDS and TGA are game and 3D texture formats built for graphics engines, not photo apps — that's why they won't open normally. Convert them to PNG to view and edit while keeping transparency, or JPG for a quick preview. They were never broken; they just needed a mainstream format.
View your game textures
Convert DDS and TGA files to PNG or JPG free — open and edit game textures in any tool.