메소드 | 설명 | |
---|---|---|
Delete ( string fullFilePath ) : void | ||
Get ( string relativeFilePath, int maxSideSize ) : |
||
Get ( string relativeFilePath, int maxWidth, int maxHeight ) : |
||
Get ( string relativeFilePath, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor ) : |
||
Get ( Stream file, int maxSideSize, OutputFormat outputFormat ) : Stream | ||
Get ( Stream file, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor, OutputFormat outputFormat ) : Stream | ||
Get ( Stream file, int maxWidth, int maxHeight, OutputFormat outputFormat ) : Stream | ||
Get ( string relativeFilePath, int maxSideSize, OutputFormat outputFormat ) : byte[] | ||
Get ( string relativeFilePath, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor, OutputFormat outputFormat ) : byte[] | ||
Get ( string relativeFilePath, int maxWidth, int maxHeight, OutputFormat outputFormat ) : byte[] | ||
GetAndCrop ( string relativeFilePath, int targetWidth, int targetHeight, double widthRatio, double heightRatio, double leftRatio, double topRatio ) : |
This returns a specified crop
|
|
GetAndCrop ( Stream file, int targetWidth, int targetHeight, double widthRatio, double heightRatio, double leftRatio, double topRatio, OutputFormat outputFormat ) : Stream |
This returns a specified crop
|
|
GetAndCrop ( string relativeFilePath, int targetWidth, int targetHeight, double widthRatio, double heightRatio, double leftRatio, double topRatio, OutputFormat outputFormat ) : byte[] |
This returns a specified crop
|
|
GetCached ( string relativeFilePath, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor, OutputFormat outputFormat ) : byte[] | ||
ImageService ( IFileService fileService, |
||
SaveForWeb ( string sourceFileName, string relativeSourcePath, string relativeTargetPath ) : bool |
메소드 | 설명 | |
---|---|---|
CreateThumbnail ( Image image, int defaultWidth, int defaultHeight ) : |
||
getDefault ( int width, int height ) : |
||
loadImage ( Stream file ) : Image | ||
loadImage ( string relativeFilePath ) : Image |
public Get ( string relativeFilePath, int maxSideSize ) : |
||
relativeFilePath | string | |
maxSideSize | int | |
리턴 |
public Get ( string relativeFilePath, int maxWidth, int maxHeight ) : |
||
relativeFilePath | string | |
maxWidth | int | |
maxHeight | int | |
리턴 |
public Get ( string relativeFilePath, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor ) : |
||
relativeFilePath | string | |
width | int | |
height | int | |
imageMod | ImageMod | |
hexBackgroundColour | string | |
anchor | AnchorPosition | |
리턴 |
public Get ( Stream file, int maxSideSize, OutputFormat outputFormat ) : Stream | ||
file | Stream | |
maxSideSize | int | |
outputFormat | OutputFormat | |
리턴 | Stream |
public Get ( Stream file, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor, OutputFormat outputFormat ) : Stream | ||
file | Stream | |
width | int | |
height | int | |
imageMod | ImageMod | |
hexBackgroundColour | string | |
anchor | AnchorPosition | |
outputFormat | OutputFormat | |
리턴 | Stream |
public Get ( Stream file, int maxWidth, int maxHeight, OutputFormat outputFormat ) : Stream | ||
file | Stream | |
maxWidth | int | |
maxHeight | int | |
outputFormat | OutputFormat | |
리턴 | Stream |
public Get ( string relativeFilePath, int maxSideSize, OutputFormat outputFormat ) : byte[] | ||
relativeFilePath | string | |
maxSideSize | int | |
outputFormat | OutputFormat | |
리턴 | byte[] |
public Get ( string relativeFilePath, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor, OutputFormat outputFormat ) : byte[] | ||
relativeFilePath | string | |
width | int | |
height | int | |
imageMod | ImageMod | |
hexBackgroundColour | string | |
anchor | AnchorPosition | |
outputFormat | OutputFormat | |
리턴 | byte[] |
public Get ( string relativeFilePath, int maxWidth, int maxHeight, OutputFormat outputFormat ) : byte[] | ||
relativeFilePath | string | |
maxWidth | int | |
maxHeight | int | |
outputFormat | OutputFormat | |
리턴 | byte[] |
public GetAndCrop ( string relativeFilePath, int targetWidth, int targetHeight, double widthRatio, double heightRatio, double leftRatio, double topRatio ) : |
||
relativeFilePath | string | e.g. asdf/asdf.jpg |
targetWidth | int | |
targetHeight | int | |
widthRatio | double | |
heightRatio | double | |
leftRatio | double | |
topRatio | double | |
리턴 |
public GetAndCrop ( Stream file, int targetWidth, int targetHeight, double widthRatio, double heightRatio, double leftRatio, double topRatio, OutputFormat outputFormat ) : Stream | ||
file | Stream | |
targetWidth | int | |
targetHeight | int | |
widthRatio | double | |
heightRatio | double | |
leftRatio | double | |
topRatio | double | |
outputFormat | OutputFormat | |
리턴 | Stream |
public GetAndCrop ( string relativeFilePath, int targetWidth, int targetHeight, double widthRatio, double heightRatio, double leftRatio, double topRatio, OutputFormat outputFormat ) : byte[] | ||
relativeFilePath | string | e.g. asdf/asdf.jpg |
targetWidth | int | |
targetHeight | int | |
widthRatio | double | |
heightRatio | double | |
leftRatio | double | |
topRatio | double | |
outputFormat | OutputFormat | |
리턴 | byte[] |
public GetCached ( string relativeFilePath, int width, int height, ImageMod imageMod, string hexBackgroundColour, AnchorPosition anchor, OutputFormat outputFormat ) : byte[] | ||
relativeFilePath | string | |
width | int | |
height | int | |
imageMod | ImageMod | |
hexBackgroundColour | string | |
anchor | AnchorPosition | |
outputFormat | OutputFormat | |
리턴 | byte[] |
public ImageService ( IFileService fileService, |
||
fileService | IFileService | |
context | ||
리턴 | System |
public SaveForWeb ( string sourceFileName, string relativeSourcePath, string relativeTargetPath ) : bool | ||
sourceFileName | string | |
relativeSourcePath | string | |
relativeTargetPath | string | |
리턴 | bool |