Convertisore DDS e TGA
Aprire le texture DDS e TGA con la loro trasparenza, convertirle in PNG o creare nuovi file DDS (DXT1, DXT5, RGBA) e TGA per giochi e mods.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Aggiungere texture
Lascia DDS, TGA o foto normali.
- 2Controlla il formato
Leggi il formato e MIP conteggio sotto l'anteprima.
- 3Scegliere le uscite
Impostare il formato DDS, le opzioni di mipmap e TGA.
- 4Selezionare i file
Seleziona le trame per convertire.
- 5Salvare
Scarica file PNG, DDS o TGA, diversi come ZIP.
Informazioni su questo strumento
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.
Esempio svolto
Un DDS a texture normale 1024 x 1024 DXT5 da un mod di gioco si apre con 11 livelli mip; una PNG modificata della stessa dimensione viene salvata come DXT5 con mipmaps generate, un file da 1,4 MB e come RLE TGA per uno strumento più vecchio.
In breve
- Categoria: Immagini
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: Microsoft, Programming Guide for DDS (DirectDraw Surface)
Domande frequenti
Quali formati DDS sono supportati?
DXT1, DXT3, DXT5 and uncompressed RGB(A), including the DX10 header. BC7 and float formats are not.
Che cos'è un mipmap?
Copie più piccole di una texture (metà, quarto e così via) che le schede grafiche usano per superfici distanti per evitare il lampeggiamento.
DXT1 o DXT5?
DXT1 per trasparenza opaca o a bordo duro, DXT5 quando il canale alfa ha gradienti lisci.
Le texture hanno bisogno di due dimensioni?
Molti motori preferiscono o ne hanno bisogno per le texture compresse.
Posso convertire TGA in PNG?
Apri il TGA e salva come PNG per mantenere la trasparenza.
I file sono caricati?
No, decodifica e codifica eseguite nel vostro browser.
