DDS Quality #1051
Unanswered
GraPhiX-Guru
asked this question in
Help
DDS Quality
#1051
Replies: 1 comment
-
I believe BC7 is only a format it can read and decompress, but it only compresses things in to BC1 or BC3, likely because other formats have very slow compression. Basically it will compress anything with alpha as BC3 and anything without as BC1. I recommend using Direct X Tex Net to decompress your image in to a raw format (like R8G8B8A8) and then reading that with the compression define set to "none", then when you are done using ImageMagick use Direct X Tex to recompress it to it's original format. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I was wondering if someone could help me with the DDS export from Magick.net there seems to be 'banding' that i cannot get rid of? for example my source image is a png
if i convert to DDS using BC7 compression in paint.net i get this, which is correct
if i convert with my app using magick.net same format & compression DDS BC7 i get this, notice the banding?
How can i export without the banding ?
here is my code snippet:
Using FrontImage As New MagickImage(FRONT_FILE)
Export_Format = MagickFormat.Dds
FrontImage.Settings.Compression = CompressionMethod.BC7
FrontImage.Settings.SetDefine("dds:mipmaps", "0")
FrontImage.Settings.SetDefine("dds:weight-by-alpha", "true")
FrontImage.Settings.SetDefine("dds:cluster-fit", "true")
FrontImage.Settings.AntiAlias = True
FrontImage.ColorType = ColorType.TrueColor
FrontImage.ColorSpace = ColorSpace.sRGB
After further tests i have found that the Compression method is DXT5 magick.net does not use BC7 !
BC7 is listed as a compression format but i cannot get Magick.net to use it, any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions