texconv
Microsoft DirectX 9.0 SDK Update (October 2004)

texconv


Textures can be converted between formats using the texconv.exe from the command line.

Path

Executable:(SDK root)\Utilities\Texconv.exe

Syntax

The command-line usage is:

texconv <Switch Options> <Filename>

Switch Options

The assembler switch options are:

CharacterDescription
-wWidth
-hHeight
-dDepth
-mMiplevels
-fFormat. Use any of the formats in D3DFORMAT without the D3DFMT_ prefix (except: D3DFMT_MULTI2_ARGB8).
-ifImage filter. Use one of: NONE, POINT, LINEAR, TRIANGLE, BOX, NONE_DITHER, POINT_DITHER, LINEAR_DITHER, TRIANGLE_DITHER, BOX_DITHER
-mfMip filter
-cColorkey
-srgbsRGB {input, output}
-pxName prefix
-sxName suffix
-oOutput directory
-ftFile type. Use one of: bmp, dds, jpg, hdr, pfm, png
/nologoSuppress copyright message.


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.