Class ImageLoader
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 9
A class containing methods providing image loading
C#Copypublic class ImageLoader
- Inheritance
-
System.ObjectImageLoader
Methods
View Source
GetOriginalImageSize(String)
Get the size of an original image rotated according to image metadata
Declaration
C#Copypublic static Size2D GetOriginalImageSize(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | The name of the image. |
Returns
Type | Description |
---|---|
Size2D | Dimension of the original image. |
API Level: 9
View Source
GetOriginalImageSize(String, Boolean)
Get the size of an original image rotated according to image metadata
Declaration
C#Copypublic static Size2D GetOriginalImageSize(string filename, bool orientationCorrection)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | The name of the image. |
Boolean | orientationCorrection | Reorient the image to respect any orientation metadata in its header. |
Returns
Type | Description |
---|---|
Size2D | Dimension of the original image. |