Jump to content
  • Advertisement
Sign in to follow this  

Direct2D and Images

This topic is 2026 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

Hi guys


I am working on a somewhat old platform (FSX) and i figured out how to replace the GDI+ 2D drawing system (for gauges and other maps) with Direct2D to improve performance. However I am having a problem (I suspect gamma correction) when i use D2D in that the final image is much darker than GDI+.










Can someone tell me what can cause this? In addition how would i apply gamma correction to a





Share this post

Link to post
Share on other sites

Just to reiterate, in Direct2D all i can find is how to set the anti-aliasing mode.


However this is what i have for the GDI+ version



Compositing mode doesnt apply in this case, Interpolation mode is set when i call the ID2D1DCRenderTarget::DrawImage method for that specific image, and I know how to set anti aliasing. Any tips on how to get the Compositing Quality equivilent in D2D?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!