Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
安全でないモードや、FastPixelやFastBitmap(実際には安全でないモードも使用する)などのcodeprojectの他のソリューションを使用せずに、Bitmap Set/GetPixelメソッドを固定するにはどうすればよいですか。
ここで、Use System.Runtime.InteropServices.Marshal.Copyという答えが見つかりました。安全でないキーワードは必要ありません!安全でない方法とほぼ同じ効果があり、get/sexピクセルよりもはるかに高速です。
http://davidthomasbernal.com/blog/2008/03/13/c-image-processing-performance-unsafe-vs-safe-code-part-i/