Convertisseur DDS et TGA

Ouvrez les textures DDS et TGA avec leur transparence, convertissez-les en PNG ou créez de nouveaux fichiers DDS (DXT1, DXT5, RGBA) et TGA pour jeux et mods.

S'exécute dans votre navigateur. Vos fichiers ne quittent jamais votre appareil. Voir comment vérifier

…

Comment faire

  1. 1
    Ajouter des textures

    Jetez des photos de DDS, TGA ou ordinaires.

  2. 2
    Vérifiez le format

    Lisez le format et le nombre de mip sous l'aperçu.

  3. 3
    Choisir les sorties

    Définir le format DDS, les options mipmaps et TGA.

  4. 4
    Sélectionnez les fichiers

    Cochez les textures pour convertir.

  5. 5
    Enregistrer

    Télécharger des fichiers PNG, DDS ou TGA, plusieurs sous forme de ZIP.

À propos de cet outil

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 concret

Un DDS de texture normale 1024 x 1024 DXT5 d'un mod de jeu s'ouvre avec 11 niveaux mip; un PNG édité de la même taille est enregistré en tant que DXT5 avec des mipmaps générés, un fichier de 1,4 MB et comme RLE TGA pour un outil plus ancien.

L'essentiel

Questions fréquentes

Quels formats DDS sont pris en charge ?

DXT1, DXT3, DXT5 and uncompressed RGB(A), including the DX10 header. BC7 and float formats are not.

C'est quoi les mipmaps ?

Des copies plus petites d'une texture (moitié, quart et ainsi de suite) que les cartes graphiques utilisent pour des surfaces éloignées afin d'éviter le clignotement.

DXT1 ou DXT5 ?

DXT1 pour la transparence opaque ou à bord dur, DXT5 lorsque le canal alpha a des dégradés lisses.

Les textures ont besoin de deux tailles ?

Beaucoup de moteurs les préfèrent ou en ont besoin pour des textures compressées.

Je peux convertir TGA en PNG ?

Ouvrez le TGA et enregistrez comme PNG pour maintenir la transparence.

Les fichiers sont-ils téléchargés ?

Le décryptage et le codage s'exécutent dans votre navigateur.

Entièrement gratuitAucun coût, aucune inscription
Fichiers privésTout s'exécute dans votre navigateur
Simple dans votre langueDisponible en de nombreuses langues