메소드 | 설명 | |
---|---|---|
Build ( Stream s, Stream target, JobOptions options ) : void |
Resizes from one stream to another. Warning - ensure that the first stream you open will be safely closed if the second stream fails to open! This means a using() or try/finally clause.
|
|
Build ( Stream s, string destPath, JobOptions options ) : void |
Reads from Stream s and writes to the given physical path
|
|
Build ( string sourcePath, Stream target, JobOptions options ) : void |
Reads from filename, writes to stream
|
|
Build ( string sourcePath, string destPath, JobOptions options ) : void |
Resizes from one filename to another
|
|
ResizeJob ( ) : System |
Creates a empty Job, with Mode=Max, ScalingRules=Down, JpegQuality=90, IgnoreIccProfile=false, and Format=Jpg
|
메소드 | 설명 | |
---|---|---|
Build ( Stream s, BitmapConsumer consumer, JobOptions options ) : void |
Loads the bitmap from stream, processes, and renders, sending the result Bitmap to the 'consumer' callback for encoding or usage.
|
|
Encode ( Stream target ) : void |
Dest is encoded.
|
|
Layout ( ) : void |
Layout: size and cropping constraints are calculated here
|
|
Render ( ) : void |
All rendering occurs here; see layout for the math part of things. Neither 'Dest' nor 'Source' are disposed here!
|
protected Build ( Stream s, BitmapConsumer consumer, JobOptions options ) : void | ||
s | Stream | |
consumer | BitmapConsumer | |
options | JobOptions | |
리턴 | void |
public Build ( Stream s, Stream target, JobOptions options ) : void | ||
s | Stream | |
target | Stream | |
options | JobOptions | |
리턴 | void |
public Build ( Stream s, string destPath, JobOptions options ) : void | ||
s | Stream | |
destPath | string | |
options | JobOptions | |
리턴 | void |
public Build ( string sourcePath, Stream target, JobOptions options ) : void | ||
sourcePath | string | |
target | Stream | |
options | JobOptions | |
리턴 | void |
public Build ( string sourcePath, string destPath, JobOptions options ) : void | ||
sourcePath | string | |
destPath | string | |
options | JobOptions | |
리턴 | void |