Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDS multipage (cubemap) save broken #1539

Open
AN3Orik opened this issue Feb 2, 2024 · 3 comments
Open

DDS multipage (cubemap) save broken #1539

AN3Orik opened this issue Feb 2, 2024 · 3 comments

Comments

@AN3Orik
Copy link

AN3Orik commented Feb 2, 2024

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
        }

test.zip

@dlemstra
Copy link
Owner

dlemstra commented Feb 3, 2024

On a mobile device so I cannot test this. But you will probably need to use the DdsWriteDefines.

@AN3Orik
Copy link
Author

AN3Orik commented Feb 3, 2024

DdsWriteDefines got nothing about multipage, only: ClusterFit/Compression/FastMipmaps/Mipmaps/MipmapsFromCollection/Raw/WeightByAlpha properties.

@dlemstra
Copy link
Owner

dlemstra commented Feb 7, 2024

It looks like @ImageMagick currently has no support for writing a cubemap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants