Hello everyone! I hope you're having a nice day! I've been using love2d for quite a while now and decided to make a little editor to help my friends out. I wanted to user to be able to load .dds files into the editor and the image would show up. Everything works except for the loading of the .dds file. It says it's unsupported. I tried to search for a solution but I couldn't find any. I did find that it was possible in 0.9 but is it still possible to do it in 11.2. Any help is appreciated!
LUA VERSION: Lua 5.1
LOVE VERSION: 11 2 0 Mysterious Mysteries
Is Compressed? false
Error: main.lua:533: Could not decode file 'goals/focus_AST_never_gallipoli.dds' to ImageData: unsupported file format
stack traceback:
[string "boot.lua"]:637: in function <[string "boot.lua"]:633>
[C]: in function 'newImageData'
main.lua:533: in main chunk
[C]: in function 'require'
[string "boot.lua"]:475: in function <[string "boot.lua"]:311>
[C]: in function 'xpcall'
[string "boot.lua"]:645: in function <[string "boot.lua"]:639>
[C]: in function 'xpcall'
Last edited by jaschutte on Sat Jun 29, 2019 1:46 pm, edited 1 time in total.
Do you know what sort of format the .dds file contains? love currently can load compressed textures from dds files (DXT1, DXT5, BC7, etc. formats), but it can't load raw RGBA bytes stored in a .dds container.
slime wrote: ↑Sat Jun 29, 2019 1:31 pm
Do you know what sort of format the .dds file contains? love currently can load compressed textures from dds files (DXT1, DXT5, BC7, etc. formats), but it can't load raw RGBA bytes stored in a .dds container.