Anyone know of any plugins for PIL that handle DDS image files… I had a browse about and found something offered up by the WOW guys but nothing official from PIL, it seems odd that its not supported considering the increase in python usage across the industry.
Writing my own is a bit beyond my python skills currently.
thanks I’ll use the nvidia command tool for now, however I’d rather keep the program contained in a simple python file rather than wrapping an executable
Recently I needed to load .DDS and .HDR in a python application that i am writing, I used ctypes to load FreeImage. I just need to read the files so I went with FreeImage, You should be able to use ctypes and load DevIL to use its functions. Have a look at FreeImagepy which is a wrapper using ctypes to FreeImage.