Jump to content
  • Advertisement
Sign in to follow this  

How can I made a bitmap?

This topic is 4057 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a way to create a bitmap image with DirectX 9 and save it into a file which I can reaccess with other programs like paint?

Share this post

Link to post
Share on other sites
Here is a typical save method for a texture...

[source lang = "c#"]
/// <summary>
/// Saves the Collage image to file.
/// </summary>
/// <param name="filename">The filename of the collage to save.</param>
/// <param name="format">The format of the image.</param>
public void SaveCollageTexture(string filename, ImageFileFormat format)
if (this.masterTexture != null) TextureLoader.Save(filename, format, this.masterTexture);



Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!