首页Home › 图片工具Image Tools

🧊 DDS 转换器(DDS 转 PNG,图片转 DDS)DDS Converter

在线转换 DDS(DirectDraw Surface)游戏贴图:把 DXT1、DXT3、DXT5(BC1–BC3)、BC4、BC5 和未压缩的 DDS 转成 PNG、JPG、WebP 或 BMP 预览,也能把 PNG 等图片编码为 DXT1、DXT5 或未压缩 BGRA 的 DDS,全部在浏览器本地完成。Convert DDS (DirectDraw Surface) game textures online: turn DXT1, DXT3, DXT5 (BC1–BC3), BC4, BC5 and uncompressed DDS into PNG, JPG, WebP or BMP for previewing, or encode PNG and other images as DXT1, DXT5 or uncompressed BGRA DDS — all locally in your browser.

点击选择或拖放 DDS 或其他图片(可多选)Click or drop DDS files or other images here (multiple allowed)

使用说明与常见问题How-to & FAQ

「DDS 转换器(DDS 转 PNG,图片转 DDS)」是什么?What is the DDS Converter tool?

在线转换 DDS(DirectDraw Surface)游戏贴图:把 DXT1、DXT3、DXT5(BC1–BC3)、BC4、BC5 和未压缩的 DDS 转成 PNG、JPG、WebP 或 BMP 预览,也能把 PNG 等图片编码为 DXT1、DXT5 或未压缩 BGRA 的 DDS,全部在浏览器本地完成。Convert DDS (DirectDraw Surface) game textures online: turn DXT1, DXT3, DXT5 (BC1–BC3), BC4, BC5 and uncompressed DDS into PNG, JPG, WebP or BMP for previewing, or encode PNG and other images as DXT1, DXT5 or uncompressed BGRA DDS — all locally in your browser.

如何使用「DDS 转换器(DDS 转 PNG,图片转 DDS)」?How do I use the DDS Converter tool?

在「DDS 转换器(DDS 转 PNG,图片转 DDS)」中,选择或拖入文件,按需设置「输出格式」、「质量」、「透明处背景色」、「DDS 压缩」等选项,然后点击「全部下载(ZIP)」按钮即可。In the DDS Converter: Choose or drop your files, set "Output format", "Quality", "Background for transparency", "DDS compression", then click "Download all (ZIP)".

DDS 是什么?为什么普通看图软件打不开?What is DDS, and why won't normal image viewers open it?

DDS(DirectDraw Surface)是微软随 DirectX 推出的纹理文件格式,游戏和 3D 软件用它存放显卡可以直接读取的压缩贴图(S3TC / BC 块压缩)、mipmap 和立方体贴图。浏览器和系统自带的看图软件一般不支持这些压缩格式,所以要先解码成 PNG 才能预览或编辑。DDS (DirectDraw Surface) is the texture format Microsoft introduced with DirectX. Games and 3D tools use it to store textures the GPU can read directly — block-compressed (S3TC / BC) data, mipmaps and cube maps. Browsers and built-in image viewers usually don't support those compressions, so the file has to be decoded to PNG before you can preview or edit it.

支持哪些 DDS 压缩格式?Which DDS formats are supported?

读取:DXT1(BC1,含 1 位透明)、DXT2/DXT3(BC2)、DXT4/DXT5(BC3)、ATI1/BC4(单通道,按灰度显示)、ATI2/BC5(双通道法线贴图,蓝色按法线重建),以及未压缩的 RGB/RGBA/BGRA、亮度和纯 Alpha 格式,包括 DX10 扩展文件头里的这些格式。BC6H(HDR)和 BC7 暂不支持,会直接提示。只转换最大一级 mipmap;立方体贴图和纹理数组只取第一个面并注明。Reading: DXT1 (BC1, including 1-bit alpha), DXT2/DXT3 (BC2), DXT4/DXT5 (BC3), ATI1/BC4 (single channel, shown as greyscale), ATI2/BC5 (two-channel normal maps, blue rebuilt from the normal), and uncompressed RGB/RGBA/BGRA, luminance and alpha-only formats — including these formats in the DX10 extended header. BC6H (HDR) and BC7 aren't supported yet and you'll be told so. Only the largest mipmap is converted; cube maps and texture arrays use the first face, with a note.

转成 DDS 时选哪种压缩?Which compression should I use when making a DDS?

DXT5(BC3)每个像素 1 字节,带平滑的 8 位透明,适合大多数带透明的贴图;DXT1(BC1)每个像素半字节,体积最小,但透明只有“全透明 / 不透明”两档;未压缩 BGRA 每个像素 4 字节,画质无损但文件大。块压缩是有损的:本工具的编码器为每个 4×4 块挑选颜色端点,速度快,但画质不如 NVIDIA Texture Tools 等专业工具,也不生成 mipmap。DXT5 (BC3) uses 1 byte per pixel with smooth 8-bit alpha and suits most textures with transparency; DXT1 (BC1) uses half a byte per pixel and is the smallest, but alpha is only fully transparent or opaque; uncompressed BGRA uses 4 bytes per pixel — lossless but large. Block compression is lossy: this encoder picks colour endpoints for each 4×4 block quickly, but quality is below dedicated tools such as NVIDIA Texture Tools, and it doesn't generate mipmaps.

DXT 解码后的颜色准确吗?Are the decoded DXT colours accurate?

解码按 DirectX 规范计算:BC1 的两个 RGB565 端点和插值色、BC2 的 4 位显式 Alpha、BC3/BC4/BC5 的 8 级(或 6 级加 0 和 255)插值,与 Pillow 等常用解码器逐像素一致。Decoding follows the DirectX specification — BC1's two RGB565 endpoints and interpolated colours, BC2's explicit 4-bit alpha, and BC3/BC4/BC5's 8-level (or 6-level plus 0 and 255) interpolation — and matches common decoders such as Pillow pixel for pixel.

文件会上传吗?Are files uploaded?

不会。DDS的解码和编码都由本页的 JavaScript 在你的浏览器里完成,文件不会离开你的设备。No. DDS decoding and encoding are done by this page's JavaScript in your browser; files never leave your device.

「DDS 转换器(DDS 转 PNG,图片转 DDS)」免费吗?需要注册吗?Is the DDS Converter free? Do I need an account?

「DDS 转换器(DDS 转 PNG,图片转 DDS)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The DDS 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.

相关工具Related tools

🎞️ GIF 拆分(把动图拆成每一帧图片)GIF Splitter📷 DNG 转 JPG(Adobe 数字负片 RAW)DNG to JPG Converter📷 RW2 转 JPG(松下 RAW 照片)RW2 to JPG Converter (Panasonic RAW)🖼️ DOCX 转 JPG(Word 每页转图片)DOCX to JPG Converter🖼️ 代码转图片(代码截图生成器)Code to Image Converter🚩 旗帜制作器(自定义旗帜设计)Flag Maker🗜️ 图片压缩Image Compressor🔄 图片格式转换Image Format Converter🔳 二维码生成器QR Code Generator✂️ 图片裁剪Image Cropper📐 图片尺寸调整Image Resizer🔃 图片旋转翻转Rotate & Flip Image

← 全部工具All tools