Method | Description | |
---|---|---|
ToSmile ( string fullPath, int width, int height ) : bool |
把一个图片压缩成小图
|
|
resize_pic ( string szdir, int width, int height ) : bool | ||
resize_pic ( int width, int height ) : void |
Method | Description | |
---|---|---|
GetEncoderInfo ( String mimeType ) : ImageCodecInfo | ||
rebdqulity_pic ( string szdir, long lqulity ) : void |
public static ToSmile ( string fullPath, int width, int height ) : bool | ||
fullPath | string | 图片路径 |
width | int | 压缩以后的图片宽度 |
height | int | 压缩以后的图片高度 |
return | bool |
public static resize_pic ( string szdir, int width, int height ) : bool | ||
szdir | string | |
width | int | |
height | int | |
return | bool |
public static resize_pic ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |