Method | Description | |
---|---|---|
Clear ( |
||
Dispose ( ) : void | ||
Save ( uint bpp, uint quality ) : byte[] |
Save this image to png/jpeg stream of bytes
|
|
SciterImage ( |
||
SciterImage ( |
Loads image from RAW BGRA pixmap data Size of pixmap data is pixmapWidth*pixmapHeight*4 construct image from B[n+0],G[n+1],R[n+2],A[n+3] data
|
|
SciterImage ( byte data ) : System.Drawing |
Loads image from PNG or JPG image buffer
|
|
SciterImage ( uint width, uint height, bool withAlpha ) : System.Drawing |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
SciterImage ( ) : System.Drawing |
public Save ( uint bpp, uint quality ) : byte[] | ||
bpp | uint | 24 or 32 if alpha needed |
quality | uint | png: 0, jpeg: 10 - 100 |
return | byte[] |
public SciterImage ( |
||
bmp | ||
return | System.Drawing |
public SciterImage ( |
||
data | ||
width | uint | |
height | uint | |
withAlpha | bool | |
return | System.Drawing |
public SciterImage ( byte data ) : System.Drawing | ||
data | byte | |
return | System.Drawing |
public SciterImage ( uint width, uint height, bool withAlpha ) : System.Drawing | ||
width | uint | |
height | uint | |
withAlpha | bool | |
return | System.Drawing |