Class ImageLoader
Definition
- Assembly:
- Tizen.NUI.dll
A class containing methods providing image loading
[SuppressMessage("Design", "CA1052:Static holder types should be Static or NotInheritable", Justification = "<Pending>")]
public class ImageLoader
- Inheritance
-
ImageLoader
Methods
View SourceGetOriginalImageSize(string)
Get the size of an original image rotated according to image metadata
Declaration
public static Size2D GetOriginalImageSize(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The name of the image. |
Returns
| Type | Description |
|---|---|
| Size2D | Dimension of the original image. |
GetOriginalImageSize(string, bool)
Get the size of an original image rotated according to image metadata
Declaration
public static Size2D GetOriginalImageSize(string filename, bool orientationCorrection)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The name of the image. |
| bool | orientationCorrection | Reorient the image to respect any orientation metadata in its header. |
Returns
| Type | Description |
|---|---|
| Size2D | Dimension of the original image. |