-
[WPF] 랜더타겟 이미지 스케일링 조정시(확대시) 깔끔히 나오는게!?프로그래밍/조각코드 2012. 5. 29. 18:44
image = new Image(); RenderOptions.SetBitmapScalingMode(image, BitmapScalingMode.NearestNeighbor);
음! 이건 버전이나 그런것은 모르겠고 일단 설정하는 모드가 있는듯!
BitmapScalingMode 의 멤버들.. msdn 뽑아옴~
Member name Description Unspecified Use the default bitmap scaling mode, which is Linear. LowQuality Use bilinear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output. The LowQualitymode is the same as the Linear mode. HighQuality Use high quality bitmap scaling, which is slower than LowQuality mode, but produces higher quality output. TheHighQuality mode is the same as the Fant mode. Linear Use linear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output. Fant Use very high quality Fant bitmap scaling, which is slower than all other bitmap scaling modes, but produces higher quality output. NearestNeighbor Use nearest-neighbor bitmap scaling, which provides performance benefits over LowQuality mode when the software rasterizer is used. This mode is often used to magnify a bitmap. '프로그래밍 > 조각코드' 카테고리의 다른 글
ActionFilter 관련 참고글.. (0) 2023.08.31 [C# WPF] File Drag&Drop / 이미지 표시 / 부분 읽어오기. (0) 2012.05.10 [C#] 추상메소드, 인터페이스, 보호클래스(상속불가) 기타등등.. (0) 2012.05.04 [C#] 위임과 상속 연습코드~ (0) 2012.05.03 [C#] 해당 경로에 있는 파일목록 출력.. (0) 2012.05.03