DDS Image: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 73: | Line 73: | ||
[[Category:Complete | [[Category:Complete Complete|DDS Image]] | ||
[[Category:Platform PC|DDS Image]] | [[Category:Platform PC|DDS Image]] | ||
[[Category:CE None|DDS Image]] | [[Category:CE None|DDS Image]] | ||
[[Category:CE Compressed|DDS Image]] | |||
[[Category:DXT1 compression]] | |||
[[Category:DXT2 compression]] | |||
[[Category:DXT3 compression]] | |||
[[Category:DXT4 compression]] | |||
[[Category:DXT5 compression]] | |||
[[Category:Format_Image | Type: Image]] | [[Category:Format_Image | Type: Image]] | ||
[[Category:Extension_dds | Extension: dds]] | [[Category:Extension_dds | Extension: dds]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
Revision as of 16:05, 6 January 2021
DDS
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
// DDS file format
// little endian
// surface format header (128 bytes)
4 bytes (char) - magic // "DDS "
4 bytes (uint32) - header size without magic // "124"
4 bytes - flags
4 bytes (uint32) - height in pixels
4 bytes (uint32) - width in pixels
4 bytes (uint32) - pitch or linear size // calculated from equation
// see notes below for details
// pitch can be "0"
4 bytes (uint32) - depth of the volume // can be "0"
4 bytes (uint32) - number of mipmaps
44 bytes - reserved
// pixel format structure (32 bytes)
4 bytes (uint32) - structure size
4 bytes - flags
4 bytes (char) - compression type // "DXT1", "DXT2", "DXT3", "DXT4", or "DXT5"
4 bytes (uint32) - RGB bit count // 16, 24, or 32
4 bytes (uint32) - R bit mask
4 bytes (uint32) - G bit mask
4 bytes (uint32) - B bit mask
4 bytes (uint32) - A bit mask
// flags
4 bytes (uint32) - flags 1
4 bytes (uint32) - flags 2
4 bytes (uint32) - reserved 1
4 bytes (uint32) - reserved 2
x bytes - image data
MultiEx BMS Script
Not written yet.
Notes and Comments
None.
Games
List of games using this file format:
- Star Stable Online
- Many more...
Compatible Programs
- IrfanView
- GIMP
- Adobe Photoshop
- XnView MP
- Windows Texture Viewer
- paint.NET
- DDS File Viewer