I have an array of pixels (WriteableBitmap.Pixels), and I need to save it as a DDS image.
Does anyone have any advice on how to do this? I have looked at the Humus image converter, aswell as DevIL, but I just have no idea…
I feel like there should be SOMETHING built in to do this.
I am using c#/SharpDX/possibly XNA
SharpDX.Toolkit.Image.Save is actually providing DDS saving. Moving pixels from WriteableBimap.Pixels to Image.Pixels shouldn’t be an issue.
The only thing that Image.Save is not providing is format conversion. You cannot save a compressed format for example (BCm format from DXGI)