ImageBinary
image/x-tga
TGA (Targa)
Reference for image/x-tga, the MIME type for Truevision TGA raster images used in game development and video production.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .tga, .icb, .vda, .vst
HTTP Content-Type Header
HTTP Header
Content-Type: image/x-tgaAssociated File Extensions
.tga.icb.vda.vst
Quick Facts
| MIME Type | image/x-tga |
| Category | Image |
| Type | Binary |
| Extensions | .tga, .icb, .vda, .vst |
Common Usage
TGA is a raster image format widely used in the video game industry and video production. It supports alpha channels, run-length encoding, and various color depths.
Many game engines and 3D tools use TGA for texture files due to its simplicity and alpha support.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.tga" type="image/x-tga">
<!-- Or for script/media elements -->
<script type="image/x-tga" src="file.tga"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('image/x-tga');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'image/x-tga' });nginx
# nginx.conf — add to types block or use default
types {
image/x-tga tga icb vda vst;
}
# Or set for a specific location
location /api/ {
default_type image/x-tga;
}Related MIME Types
More Image MIME Types
Other image types in the Image family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.