🎮 TGA 转换器(TGA 转 PNG / JPG,图片转 TGA)TGA Converter
在线转换 TGA(Truevision TARGA)图片:把 TGA 转成 PNG、JPG、WebP 或 BMP 以便预览和分享,也能把 PNG、JPG 等图片转成 32 位带透明的 TGA(可选 RLE 压缩),适合游戏贴图、3D 和视频软件,全部在浏览器本地完成。Convert TGA (Truevision TARGA) images online: turn TGA into PNG, JPG, WebP or BMP for previewing and sharing, or turn PNG, JPG and other images into 32-bit TGA with transparency (optional RLE compression) for game textures, 3D and video software — all locally in your browser.
使用说明与常见问题How-to & FAQ
「TGA 转换器(TGA 转 PNG / JPG,图片转 TGA)」是什么?What is the TGA Converter tool?
在线转换 TGA(Truevision TARGA)图片:把 TGA 转成 PNG、JPG、WebP 或 BMP 以便预览和分享,也能把 PNG、JPG 等图片转成 32 位带透明的 TGA(可选 RLE 压缩),适合游戏贴图、3D 和视频软件,全部在浏览器本地完成。Convert TGA (Truevision TARGA) images online: turn TGA into PNG, JPG, WebP or BMP for previewing and sharing, or turn PNG, JPG and other images into 32-bit TGA with transparency (optional RLE compression) for game textures, 3D and video software — all locally in your browser.
如何使用「TGA 转换器(TGA 转 PNG / JPG,图片转 TGA)」?How do I use the TGA Converter tool?
在「TGA 转换器(TGA 转 PNG / JPG,图片转 TGA)」中,选择或拖入文件,按需设置「输出格式」、「质量」、「透明处背景色」等选项,然后点击「全部下载(ZIP)」按钮即可。In the TGA Converter: Choose or drop your files, set "Output format", "Quality", "Background for transparency", then click "Download all (ZIP)".
TGA 是什么格式?为什么很多软件打不开?What is TGA, and why won't many apps open it?
TGA(TARGA)是 Truevision 公司在 1984 年为其显卡定义的位图格式,结构简单、支持 8 位 Alpha 透明通道,至今仍常用于游戏贴图、3D 渲染输出和视频合成。浏览器、Windows 照片和大多数社交平台都不能直接显示 TGA,所以需要先转成 PNG 或 JPG。TGA (TARGA) is the bitmap format Truevision defined for its graphics boards in 1984. It's simple and supports an 8-bit alpha channel, so it's still common for game textures, 3D render output and video compositing. Browsers, Windows Photos and most social sites can't show TGA, so it needs converting to PNG or JPG first.
支持哪些 TGA?Which TGA files are supported?
支持全部 6 种常见图像类型:调色板(类型 1)、真彩色(类型 2,15/16/24/32 位)、灰度(类型 3,8 位或 8 位 + Alpha),以及它们的 RLE 压缩版本(类型 9、10、11);左下角或左上角原点、左右翻转的图像都会按正确方向输出。32 位文件的 Alpha 全为 0 时(有些软件不写透明通道)按不透明处理。All six common image types: colour-mapped (type 1), true-colour (type 2, 15/16/24/32-bit), greyscale (type 3, 8-bit or 8-bit + alpha), and their RLE-compressed versions (types 9, 10 and 11). Images stored with a bottom-left or top-left origin, or mirrored, come out the right way up. A 32-bit file whose alpha is all 0 (some programs don't write it) is treated as opaque.
把图片转成 TGA 时输出什么格式?What kind of TGA does it write?
有透明像素时输出 32 位 BGRA(8 位 Alpha),否则输出 24 位,原点在左上角,并带 TGA 2.0 文件尾。勾选“RLE 压缩”会写成类型 10,对大面积纯色的贴图通常能小很多;个别老游戏引擎只认未压缩 TGA,这时不要勾选。32-bit BGRA (8-bit alpha) when the image has transparent pixels, otherwise 24-bit, with a top-left origin and a TGA 2.0 footer. RLE compression writes type 10, which is usually much smaller for textures with flat areas; a few old game engines only read uncompressed TGA, so leave it off for those.
透明背景会保留吗?Is transparency kept?
转 PNG、WebP 和 TGA 时保留透明;JPG 和 BMP 不支持透明,透明处会填充你选的背景色(默认白色)。Yes for PNG, WebP and TGA. JPG and BMP have no transparency, so transparent areas are filled with the background colour you pick (white by default).
文件会上传吗?Are files uploaded?
不会。TGA的解码和编码都由本页的 JavaScript 在你的浏览器里完成,文件不会离开你的设备。No. TGA decoding and encoding are done by this page's JavaScript in your browser; files never leave your device.
「TGA 转换器(TGA 转 PNG / JPG,图片转 TGA)」免费吗?需要注册吗?Is the TGA Converter free? Do I need an account?
「TGA 转换器(TGA 转 PNG / JPG,图片转 TGA)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The TGA Converter is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.