Method | Description | |
---|---|---|
ScaleDown ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image | ||
ScaleDown ( Stream imageStream, int newWidth, int newHeight, bool preserveAspect ) : Stream | ||
ScaleToThumbnail ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image |
Method | Description | |
---|---|---|
CopyExif ( Image oldImage, Image newImage ) : void |
Copies the EXIF data into the new image and adjusts the Width and Height accordingly.
|
|
ScaleCore ( Image image, int newWidth, int newHeight, bool preserveAspect, InterpolationMode quality ) : Image |
public static ScaleDown ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image | ||
image | Image | |
newWidth | int | |
newHeight | int | |
preserveAspect | bool | |
return | Image |
public static ScaleDown ( Stream imageStream, int newWidth, int newHeight, bool preserveAspect ) : Stream | ||
imageStream | Stream | |
newWidth | int | |
newHeight | int | |
preserveAspect | bool | |
return | Stream |
public static ScaleToThumbnail ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image | ||
image | Image | |
newWidth | int | |
newHeight | int | |
preserveAspect | bool | |
return | Image |