Magick.NET
Magick.NET copied to clipboard
DDS multipage (cubemap) save broken
Magick.NET version
Magick.NET-Q16-HDRI-OpenMP-x64 13.5.0
Environment (Operating system, version and so on)
Windows 10
Description
Opening and saving multipage DDS (cubemap) producing one-page image
Steps to Reproduce
using (MagickImageCollection image = new MagickImageCollection("test.dds")) // Cubemap with six pages
{
image.Write("test_2.dds"); // Plain dds with one (first) image
}
On a mobile device so I cannot test this. But you will probably need to use the DdsWriteDefines
.
DdsWriteDefines
got nothing about multipage, only: ClusterFit/Compression/FastMipmaps/Mipmaps/MipmapsFromCollection/Raw/WeightByAlpha properties.
It looks like @ImageMagick currently has no support for writing a cubemap.