Convertidor DDS i TGA
Obre les textures DDS i TGA amb la seva transparència, converteix-les a PNG o crea nous arxius DDS (DXT1, DXT5, RGBA) i TGA per als jocs i mods.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Afegir textures
Deixar DDS, TGA o imatges ordinàries.
- 2Verifica el format
Llegeix el format i mip comptar sota la vista d'administració.
- 3Seleccioneu sortides
Configurar el format DDS, mipmaps i opcions TGA.
- 4Seleccionar arxius
Marca les textures per convertir-les.
- 5Salvar
Descarrega PNG, DDS o TGA fitxers, diversos com a ZIP.
Sobre aquesta eina
Games and 3D software store textures in formats that ordinary image viewers ignore. DDS (DirectDraw Surface) keeps textures in GPU-friendly compressed blocks with mipmaps; TGA (Targa) is a simple format with alpha that many engines and modding tools still expect. This converter decodes and encodes both in your browser, so modders, artists and students can inspect and produce textures without installing plug-ins.
Reading DDS
Supported formats are DXT1 (BC1), DXT3 (BC2), DXT5 (BC3), the same formats in the newer DX10 header, and uncompressed RGB and RGBA with any bit masks. The first (largest) mipmap level is shown, together with the format and the number of mip levels stored. BC7 and floating-point formats are not decoded.
Reading TGA
Uncompressed and RLE-compressed TGA files with 8, 15, 16, 24 or 32 bits per pixel, greyscale, true colour and colour-mapped, in any of the four origin orientations.
Making DDS
Choose DXT5 for textures with smooth transparency, DXT1 for opaque or cut-out textures at the smallest size, or uncompressed RGBA for maximum quality. Mipmaps, the chain of half-size copies that GPUs use for distant surfaces, can be generated automatically. Many engines require power-of-two sizes for compressed textures, so the tool can resize to the nearest power of two.
Making TGA
TGA files are written with an alpha channel or without, compressed with run-length encoding or uncompressed, top-left origin.
The compression
DXT formats store each 4 x 4 pixel block with two colours and a 2-bit index per pixel; DXT5 adds an 8-step alpha ramp. The built-in encoder chooses the block's colours along its main colour axis, which gives good results for typical textures; specialist encoders can be slightly sharper.
Uses
Extracting and editing textures for game mods, converting textures for 3D printing previews or portfolio images, and preparing assets for engines and older tools.
Tips for modders
Keep the original texture's size and format when replacing game files; engines can crash on unexpected formats. Check whether the game expects mipmaps, and keep a backup of every file you replace.
Normal maps should usually stay uncompressed or use formats designed for them, because DXT compression can add visible banding to lighting.
Limits
Cube maps and texture arrays show only the first face. Only the first mip level is shown. Respect game licences when extracting assets. All conversion is local.
Exemple resolt
Un DDS de textura normal 1024 x 1024 DXT5 d'un mod de joc s'obre amb 11 nivells mip; un PNG editat de la mateixa mida es guarda com a DXT5 amb mipmaps generats, un fitxer de 1,4 MB i com a RLE TGA per a una eina més antiga.
En resum
- Categoria: Imatges
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: Microsoft, Programming Guide for DDS (DirectDraw Surface)
Preguntes freqüents
Quins formats de DDS són suportats?
DXT1, DXT3, DXT5 and uncompressed RGB(A), including the DX10 header. BC7 and float formats are not.
Què són els mipmaps?
Copies més petites d'una textura (mitja, quart i així successivament) que les targetes gràfiques utilitzen per a superfícies distants per evitar lliscar.
DXT1 o DXT5?
DXT1 per a la transparència opaca o amb bord dur, DXT5 quan el canal alfa té gradients suaus.
Les textures necessiten dos talles?
Molts motors els prefereixen o els requereixen per a textures comprimides.
Puc convertir TGA a PNG?
Obre el TGA i guarda com PNG per mantenir la transparència.
S'han carregat arxius?
No, el desxifratge i la codificació s'executen en el teu navegador.
