Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Recently angru gave me some pyglet to study during the discussion of my question . In the process of slowly absorbing the documentation, among other things that were not particularly interesting to me, the pyglet.image.codecs.dds module with the DDSImageDecoder class flashed by.
For 30 sec. on my knee, I wrote the following code (it will be a miracle if it works):
from pyglet.image.codecs.dds import DDSImageDecoder.
from pyglet.image import load
image = load('one_file.dds', decoder=DDSImageDecoder())
image.save('another_file.png')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question