Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualPlerion

Posted 05 November 2012 - 04:58 AM

[edit: Bad internetconnection -> two times same post]

#1Plerion

Posted 05 November 2012 - 04:05 AM

The constructor int, int, PixelFormat throws an exception when the format does not start with Format. On the other hand according to the MSDNA the constructor int, int invokes the other one with Format32bppArgb so it shouldnt throw an ArgumentException.

You might wanna debug the bitmap constructor using the .NET source code so you can ispect where the exception is actually thrown. Here is a link how this can be done:
http://msdn.microsoft.com/en-us/library/cc667410.aspx

PARTNERS