Announcement

Collapse
No announcement yet.

Incorrect (or rather not fully correct) reading of DDS textures.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Incorrect (or rather not fully correct) reading of DDS textures.

    Let’s take an example picture (Original.png).
    Click image for larger version

Name:	Original.png
Views:	231
Size:	2.6 KB
ID:	91437
    I convert it to DDS, then extract it with IrfanView back to common graphical format (Extracted by IView.png).
    Click image for larger version

Name:	Extracted by IView.png
Views:	119
Size:	11.0 KB
ID:	91438
    It now has changed coloration and is darker. The effect is not produced by conversion to DDS, as can be seen if make the same with some other appropriate program (I used now GIMP2.10.24, in the past it was nVidia utility).
    Click image for larger version

Name:	Extracted by GIMP.png
Views:	148
Size:	11.7 KB
ID:	91439
    The effect is not very pronounced with this particular image I choose as illustration, but sometimes tone change was very perceptible. Also, it is quite easy to see the difference if looking at the corresponding histograms (Histo Original.png, Histo Extracted by IView.png, Histo Extracted by GIMP.png), the shrinkage of the graph to the left is obvious.
    Click image for larger version

Name:	Histo Original.png
Views:	131
Size:	12.2 KB
ID:	91442Click image for larger version

Name:	Histo Extracted by IView.png
Views:	116
Size:	12.0 KB
ID:	91440Click image for larger version

Name:	Histo Extracted by GIMP.png
Views:	143
Size:	12.7 KB
ID:	91441

    I am using Win 10 and Ifanview v. 4.57 (both 32 and 64 bits) now, but I believe it is irrelevant, as it all was the same 15 years ago.
Working...
X