Jump to content

SaveBuffer function doesn't support dds?


ArBuZ
 Share

Recommended Posts

Hi!

As I understand I can't save buffer as dds. Only jpg TGA and png. Just wondering why would I need this function if I don't have ability to use result in the engine? :)

How do you guys convert any kind of images in code while game is running? I need to save buffer to file on hdd. And then later use it in game (Load/Save images).

Thanks in advance.

Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64

3ds max / photoshop CS3 / C++

http://www.arbuznikov.com

Link to comment
Share on other sites

Yes. But I need it after game is restarted. I wanted to make skreenshots for saved games.

I can live without it :) But anyway it would be a nice feature if SaveBuffer supports dds. Ill post it in feature reques if you don't mind.

Q6600@2.4GHz - 9600GT - 4GB DDR2@800MHz - Windows7 x64

3ds max / photoshop CS3 / C++

http://www.arbuznikov.com

Link to comment
Share on other sites

How about saving it as png and then using the freeimage lib to convert it to dds? Of course it would be nice if Josh includes the dds saver but in the meantime this might be a solution.

  • Intel® Core™ i7-8550U @ 1.80 Ghz 
  • 16GB RAM 
  • INTEL UHD Graphics 620
  • Windows 10 Pro 64-Bit-Version
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...