question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't support DXTn raw data.

See original GitHub issue

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of Magick.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

This is a great project, but it seems to be an error when exporting images in DXTn format. The DDS format works fine, but it might be better to get DXTn raw data.

Steps to Reproduce

  using (MagickImage image = new MagickImage("1.jpg"))
    {
        image.Format = MagickFormat.Dxt1;
        var bytes = image.ToByteArray();
    }

System Configuration

  • Magick.NET version: Magick.NET-Q8-x64.7.10.1
  • Environment (Operating system, version and so on): Windows 7, Visual Studio 2017,.Net Core 2.2
  • Additional information:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dlemstracommented, Jan 16, 2019

I think it might be possible to add an option for this to the DDS encoder. Will try to take a look at it this weekend.

1reaction
dlemstracommented, Jan 15, 2019

It appears that you found a bug and I just pushed a patch to the ImageMagick repository to resolve this. I will try to publish a new release this weekend to resolve this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Comperession of dds
The first file is actually raw (non-compressed) RGBA8 inside the dds file. LÖVE 0.10.0 doesn't currently support that (bitbucket issue #1097).
Read more >
Convert S3TC / DXTn data to QImage - c++
I had to do this as I didn't see any other way to get (valid) DXT1 raw data into memory on my side...
Read more >
Target texture compression formats in Android App Bundles
The following are common texture compression formats: DDS or S3TC: Sometimes called DXTC or DXTn. Three forms of this format are supported by...
Read more >
BinomialLLC/crunch: Advanced DXTc texture compression ...
CRN file format supports the following core DXTn texture formats: DXT1 (but not DXT1A), ... CRN format files to raw DXTn bits at...
Read more >
Data compression usage
I'm working on creating a new corpus for testing general-purpose data compression codecs and, since I know games are major users of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found