콘텐츠로 건너뛰기

image

.Net

Bitmap 객체와 Graphics 객체

Bitmap 객체로 부터 Graphics 객체 생성시 유효한 PixelFormat 관련 내용을 정리하였습니다. Graphics 객체 생성 코드는 아래와 같습니다. 이 때, Bitmap 객체 생성시 매개변수로 전달하는 PixelFormat 열거형 중 일부가 동작하지 않거나, 원하는 방향이 아닌 경우가 있었습니다. int nWidth = 1920; int nHeight = 1080; PixelFormat pixelFormat… 더 보기 »Bitmap 객체와 Graphics 객체