[Tizen] Fix build errors on Ubuntu
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / image-loading.h
index b00cd28..c5c143c 100644 (file)
@@ -70,7 +70,7 @@ DALI_ADAPTOR_API ImageDimensions GetClosestImageSize(
   bool               orientationCorrection = true);
 
 /**
- * @brief Get the size of an original image
+ * @brief Get the size of an original image. this method will not respect any rotation of image.
  * @param[in] filename name of the image.
  *
  * @return dimensions to original image
@@ -79,6 +79,15 @@ DALI_ADAPTOR_API ImageDimensions GetOriginalImageSize(
   const std::string& filename);
 
 /**
+ * @brief Get the size of an original image. this method will respect any rotation of image.
+ * @param[in] filename name of the image.
+ * @param[in] orientationCorrection Whether to use image metadata to rotate or
+ * @return dimensions to original image
+ */
+DALI_ADAPTOR_API ImageDimensions GetOriginalImageSize(
+  const std::string& filename, bool orientationCorrection);
+
+/**
  * @brief Load an image synchronously from a remote resource.
  *
  * @param [in] url The URL of the image file to load.