Reputation: 2593
I am parsing DDS file to read its header data. I want to modify format of image, but it seems that header mentioned at this site does not specify where DXGI_FORMAT (internal format) is stored. Where I can I get internal format in file ?
Like DXGI_FORMAT_BC1_UNORM value is 71, but i did not find it in header
Upvotes: 0
Views: 343
Reputation: 31
You can get FourCC of internal codec at dds_header[84] if DDSD_PIXELFORMAT && DDPF_FOURCC is set.
Upvotes: 0