C# 클래스 PsHandler.Custom.Bmp

파일 보기 프로젝트 열기: kampiuceris/PsHandler 1 사용 예제들

공개 메소드들

메소드 설명
BitmapArrayToBmpArray ( Bitmap bitmaps ) : PsHandler.Custom.Bmp[]
BitmapToBitmapSource ( Bitmap bitmap ) : System.Windows.Media.Imaging.BitmapSource
BitmapToBmp ( Bitmap bitmap ) : Bmp
BitmapToBytes_Unsafe ( Bitmap bitmap ) : byte[]
Bmp ( Bitmap bmp ) : System
Bmp ( byte bgra, int width, int height ) : System
Bmp ( int width, int height ) : System
Bmp ( int width, int height, Color initColor ) : System
Bmp ( int width, int height, System initColor ) : System
BmpToBitmap ( Bmp bmp ) : Bitmap
BytesToBitmap_Unsafe ( byte argb, int width, int height ) : Bitmap
CutBitmap ( Bitmap bitmap, Rectangle rect ) : Bitmap
CutRectangle ( Rectangle rect ) : Bmp
GetBytesBGRA ( ) : byte[]
GetPixelA ( int x, int y ) : byte
GetPixelB ( int x, int y ) : byte
GetPixelG ( int x, int y ) : byte
GetPixelR ( int x, int y ) : byte
HslToRgb ( double h, double s, double l ) : Color
HslToRgb ( double h, double s, double l, double &r, double &g, double &b ) : void
RgbToHsl ( Color rgb, double &h, double &s, double &l ) : void
RgbToHsl ( double r, double g, double b, double &h, double &s, double &l ) : void
SetPixelA ( int x, int y, byte value ) : void
SetPixelB ( int x, int y, byte value ) : void
SetPixelG ( int x, int y, byte value ) : void
SetPixelR ( int x, int y, byte value ) : void
ToBitmap ( ) : Bitmap
ToHighContrast ( ) : Bmp
ToHighContrastClone ( ) : Bmp
___CutBmp ( Bmp bmp, Rectangle rect ) : Bmp
___CutRectangle ( Rectangle rect ) : Bmp
this ( int x, int y ) : byte[]

Slower way to set/get pixels. Faster GetPixels A/R/G/B(int x, int y).

메소드 상세

BitmapArrayToBmpArray() 공개 정적인 메소드

public static BitmapArrayToBmpArray ( Bitmap bitmaps ) : PsHandler.Custom.Bmp[]
bitmaps System.Drawing.Bitmap
리턴 PsHandler.Custom.Bmp[]

BitmapToBitmapSource() 공개 정적인 메소드

public static BitmapToBitmapSource ( Bitmap bitmap ) : System.Windows.Media.Imaging.BitmapSource
bitmap System.Drawing.Bitmap
리턴 System.Windows.Media.Imaging.BitmapSource

BitmapToBmp() 공개 정적인 메소드

public static BitmapToBmp ( Bitmap bitmap ) : Bmp
bitmap System.Drawing.Bitmap
리턴 Bmp

BitmapToBytes_Unsafe() 공개 정적인 메소드

public static BitmapToBytes_Unsafe ( Bitmap bitmap ) : byte[]
bitmap System.Drawing.Bitmap
리턴 byte[]

Bmp() 공개 메소드

public Bmp ( Bitmap bmp ) : System
bmp System.Drawing.Bitmap
리턴 System

Bmp() 공개 메소드

public Bmp ( byte bgra, int width, int height ) : System
bgra byte
width int
height int
리턴 System

Bmp() 공개 메소드

public Bmp ( int width, int height ) : System
width int
height int
리턴 System

Bmp() 공개 메소드

public Bmp ( int width, int height, Color initColor ) : System
width int
height int
initColor Color
리턴 System

Bmp() 공개 메소드

public Bmp ( int width, int height, System initColor ) : System
width int
height int
initColor System
리턴 System

BmpToBitmap() 공개 정적인 메소드

public static BmpToBitmap ( Bmp bmp ) : Bitmap
bmp Bmp
리턴 System.Drawing.Bitmap

BytesToBitmap_Unsafe() 공개 정적인 메소드

public static BytesToBitmap_Unsafe ( byte argb, int width, int height ) : Bitmap
argb byte
width int
height int
리턴 System.Drawing.Bitmap

CutBitmap() 공개 정적인 메소드

public static CutBitmap ( Bitmap bitmap, Rectangle rect ) : Bitmap
bitmap System.Drawing.Bitmap
rect System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

CutRectangle() 공개 메소드

public CutRectangle ( Rectangle rect ) : Bmp
rect System.Drawing.Rectangle
리턴 Bmp

GetBytesBGRA() 공개 메소드

public GetBytesBGRA ( ) : byte[]
리턴 byte[]

GetPixelA() 공개 메소드

public GetPixelA ( int x, int y ) : byte
x int
y int
리턴 byte

GetPixelB() 공개 메소드

public GetPixelB ( int x, int y ) : byte
x int
y int
리턴 byte

GetPixelG() 공개 메소드

public GetPixelG ( int x, int y ) : byte
x int
y int
리턴 byte

GetPixelR() 공개 메소드

public GetPixelR ( int x, int y ) : byte
x int
y int
리턴 byte

HslToRgb() 공개 정적인 메소드

public static HslToRgb ( double h, double s, double l ) : Color
h double
s double
l double
리턴 Color

HslToRgb() 공개 정적인 메소드

public static HslToRgb ( double h, double s, double l, double &r, double &g, double &b ) : void
h double
s double
l double
r double
g double
b double
리턴 void

RgbToHsl() 공개 정적인 메소드

public static RgbToHsl ( Color rgb, double &h, double &s, double &l ) : void
rgb Color
h double
s double
l double
리턴 void

RgbToHsl() 공개 정적인 메소드

public static RgbToHsl ( double r, double g, double b, double &h, double &s, double &l ) : void
r double
g double
b double
h double
s double
l double
리턴 void

SetPixelA() 공개 메소드

public SetPixelA ( int x, int y, byte value ) : void
x int
y int
value byte
리턴 void

SetPixelB() 공개 메소드

public SetPixelB ( int x, int y, byte value ) : void
x int
y int
value byte
리턴 void

SetPixelG() 공개 메소드

public SetPixelG ( int x, int y, byte value ) : void
x int
y int
value byte
리턴 void

SetPixelR() 공개 메소드

public SetPixelR ( int x, int y, byte value ) : void
x int
y int
value byte
리턴 void

ToBitmap() 공개 메소드

public ToBitmap ( ) : Bitmap
리턴 System.Drawing.Bitmap

ToHighContrast() 공개 메소드

public ToHighContrast ( ) : Bmp
리턴 Bmp

ToHighContrastClone() 공개 메소드

public ToHighContrastClone ( ) : Bmp
리턴 Bmp

___CutBmp() 공개 정적인 메소드

public static ___CutBmp ( Bmp bmp, Rectangle rect ) : Bmp
bmp Bmp
rect System.Drawing.Rectangle
리턴 Bmp

___CutRectangle() 공개 메소드

public ___CutRectangle ( Rectangle rect ) : Bmp
rect System.Drawing.Rectangle
리턴 Bmp

this() 공개 메소드

Slower way to set/get pixels. Faster GetPixels A/R/G/B(int x, int y).
public this ( int x, int y ) : byte[]
x int
y int
리턴 byte[]