Method | Description | |
---|---|---|
FromFile ( string filename, |
Creates a thumbnail from the given image file.
|
|
FromImage ( Image image, |
Creates a thumbnail from the given image.
|
Method | Description | |
---|---|---|
ConvertToBitmap ( System.Windows.Media.Imaging.BitmapSource sourceWpf ) : |
Converts BitmapSource to Bitmap.
|
|
GetMetadataObject ( BitmapMetadata metadata ) : object |
Returns the metadata for the given query.
|
|
GetRotation ( System.Windows.Media.Imaging.BitmapFrame frameWpf ) : int |
Returns Exif rotation in degrees. Returns 0 if the metadata does not exist or could not be read. A negative value means the image needs to be mirrored about the vertical axis.
|
|
GetRotation ( Image img ) : int |
Returns Exif rotation in degrees. Returns 0 if the metadata does not exist or could not be read. A negative value means the image needs to be mirrored about the vertical axis.
|
|
GetRotation ( string filename ) : int |
Returns Exif rotation in degrees. Returns 0 if the metadata does not exist or could not be read. A negative value means the image needs to be mirrored about the vertical axis.
|
|
GetThumbnail ( System.Windows.Media.Imaging.BitmapFrame bmp, |
Creates a thumbnail from the given bitmap.
|
|
GetThumbnailBmp ( Image image, |
Creates a thumbnail from the given image.
|
|
GetThumbnailBmp ( string filename, |
Creates a thumbnail from the given image file.
|
|
ScaleDownRotateBitmap ( System.Windows.Media.Imaging.BitmapSource sourceWpf, double scale, int angle ) : System.Windows.Media.Imaging.BitmapSource |
Scales down and rotates a Wpf bitmap.
|
|
ScaleDownRotateBitmap ( Image source, double scale, int angle ) : Image |
Scales down and rotates an image.
|
public static FromFile ( string filename, |
||
filename | string | The filename pointing to an image. |
size | Requested image size. | |
useEmbeddedThumbnails | UseEmbeddedThumbnails | Embedded thumbnail usage. |
useExifOrientation | bool | true to automatically rotate images based on Exif orientation; otherwise false. |
useWIC | bool | true to use Windows Imaging Component; otherwise false. |
return | Image |
public static FromImage ( Image image, |
||
image | Image | The source image. |
size | Requested image size. | |
useEmbeddedThumbnails | UseEmbeddedThumbnails | Embedded thumbnail usage. |
useExifOrientation | bool | true to automatically rotate images based on Exif orientation; otherwise false. |
useWIC | bool | true to use Windows Imaging Component; otherwise false. |
return | Image |