Archived

This topic is now archived and is closed to further replies.

DDS header "magic number"?

This topic is 4982 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know the value of the "magic number" at the top of a DDS file? MSDN describes it as a four-character code without any indication whatsoever of what the code is supposed to represent. Is it some aribtrary value, or is it calculated based on the the data in the DDS file itself? If it''s calculated, can you provide an algorithm? Thanks in advance for any help.

Share this post


Link to post
Share on other sites
Use a hex editor if you have an example DDS file. Open the file and look for yourself at what the number is. Maybe check 2 for consistancy. Will that get you what you want?

Share this post


Link to post
Share on other sites
Ah, that was very silly of me. You know, now that I think of it, I do recall seeing "DDS " somewhere in the documentation, but it didn''t register in my brain. Thanks very much.

Share this post


Link to post
Share on other sites