Return to Website

MWGraphics Forum

none

MWGraphics Forum
Start a New Topic 
Author
Comment
DXT Compression Technique?

Hey,

i did some comparing between DXTBmp and GIMP with DDS Plugin. With GIMP you have the possibility to select 1 from 3 Compression Algorithms and you can dither the Pic before reducing. As a final result DXTBmp beats GIMP's DDS Plugin. Very good!
GIMP lacks in colour correctness (baaad) and DXTBmp lacks in brightness and contrast/colourfulness in the whole pic. It looks like DXTBmp tries to near the brightness level of all the colours and then compress.
Now for the question .. would it be possible to implement other techniques to choose? That would be great!


btw. the possibility to hide the email address would be nice too ;)

Re: DXT Compression Technique?

Have you tried experimenting with the options already available in DXTBmp?

The Scaling and Processing filters available (below the Alpha thumbnail) let you use different scaling algorithms and also image data processing (darken, lighten etc).

While these are primarily mipmap functions some of them may work on the main image as well.

My problem is that I use the nVidia DDS compression library to do the actual compression so I am limited to the options available in that. Long story but for various technical and programming reasons I have been unable to use the later versions of this library (since they switched it to .NET) and am stuck with a version several years old.

You could possibly improve things by pre-dithering the image to 16 bit colours before compressing (PaintShopPro can do this pretty well). I could add code fairly easily to DXTBmp to reduce to 16 bit before compressing but without some clever dithering code as well you would probably start to get nasty banding effects. Certainly something I can look in to.