dds?

BlitzMax Forums/BlitzMax Beginners Area/dds?

Caton(Posted 2015) [#1]
can I load dds image?


Brucey(Posted 2015) [#2]
With basic BlitzMax? Not without writing your own loader for it.

Otherwise, you can probably use a third-party image module to do it.


Caton(Posted 2015) [#3]
where can I find it? I looked on google but found nothing.
writing my loader would be to hard to do.


Brucey(Posted 2015) [#4]
Freeimage appears to support dds image loading.

BaH.Freeimage is available as part of this : https://github.com/maxmods/bah.mod

You can download the zip from there, extract the freeimage.mod folder and copy it into BlitzMax/mod/bah.mod/freeimage.mod

Then you need to build modules. It will only build successfully if your MinGW environment is configured correctly.

There are examples included in the module tests folder, which show you how to use the module.