Doesn't support DXTn raw data.
See original GitHub issuePrerequisites
- 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:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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.