I noticed some of the bitmap decoding for this is using super old Adjutant code (even including my comment at the top) and it has some todo comments to do some refactoring.
I have since rewritten all of the decode functions and added more in my System.Drawing.Dds repo. If it may be of any use to you, check the DdsConvert.cs file for better structured decode methods (I believe the old ones are endian-swapped compared to these).
I noticed some of the bitmap decoding for this is using super old Adjutant code (even including my comment at the top) and it has some todo comments to do some refactoring.
I have since rewritten all of the decode functions and added more in my System.Drawing.Dds repo. If it may be of any use to you, check the DdsConvert.cs file for better structured decode methods (I believe the old ones are endian-swapped compared to these).