Jump to content

.dds compression banding


Go to solution Solved by null54,

Recommended Posts

Hi all

 

I've been using Paint.net for work for some time now but i've encountered a problem recently. I have to save my work as .dds in either DXT1 or DXT5 which leaves a gradient i painted with lots of banding.

 

Any tips for removing would be greatly appreciated.

Project:                                                   After saving to .dds:

image.thumb.png.e1dc4b90f22163ab61d90d4882f6c225.png   

 

Thanks

Edited by esco-uk
Clear title
Link to comment
Share on other sites

  • esco-uk changed the title to .dds compression banding
  • Solution
1 hour ago, esco-uk said:

I have to save my work as .dds in either DXT1 or DXT5 which leaves a gradient i painted with lots of banding.

 

What version of Paint.NET were you using previously?

The original DDS plugin was replaced with one that supports the DirectX 10 formats in Paint.NET 4.2.2.

 

Unfortunately, the DirectXTex library that the new plugin uses does not provide any quality options for the DXTn compression.

I would recommend that you use BC7 or one of the uncompressed formats when saving images with a gradient.

  • Thanks 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

8 hours ago, null54 said:

 

What version of Paint.NET were you using previously?

The original DDS plugin was replaced with one that supports the DirectX 10 formats in Paint.NET 4.2.2.

 

Unfortunately, the DirectXTex library that the new plugin uses does not provide any quality options for the DXTn compression.

I would recommend that you use BC7 or one of the uncompressed formats when saving images with a gradient.

 

Hi Null, thanks for your reply

 

I am running currently image.png.eb1ec96d893905d60fd7202e5868445b.png This is the first time using a gradient in my work to be honest.

 

Regards 

 

 

Link to comment
Share on other sites

2 hours ago, esco-uk said:

This is the first time using a gradient in my work to be honest.

 

I misinterpreted your original post to mean that you had recently upgraded from a pre 4.2.2 version of Paint.NET.

 

As I mentioned in my previous post, the fix would be to use BC7 or one of the uncompressed formats (e.g. R8G8B8A8).

  • Thanks 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

3 hours ago, MeerkatPower32 said:

It's in the compressors tactics to butcher your image like this.

 

The behavior would depend on the compressor implementation.

For example, the Cluster Fit or Iterative Cluster Fit compression modes in libsquish will commonly prevent banding.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

  • 2 weeks later...
On 7/27/2022 at 11:01 AM, null54 said:

 

The behavior would depend on the compressor implementation.

For example, the Cluster Fit or Iterative Cluster Fit compression modes in libsquish will commonly prevent banding.

Forgot to keep this posted updated.

 

I took your advice null and went with a uncompressed format but because i have to work to a file size i dropped the res, fortunately without much lose in the details.

 

Thanks for the pointers all.


 ss204402.thumb.jpg.abe85b54a12b972a36b79d154c604632.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...