Change-Id: I3a137213ffcfc19f0bdaf429023355e9e5479d2d
return dimension;
}
+ImageDimensions GetOriginalImageSize( const std::string& filename )
+{
+ return TizenPlatform::ImageLoader::GetClosestImageSize( filename, ImageDimensions(0, 0), FittingMode::DEFAULT, SamplingMode::BOX_THEN_LINEAR, true );
+}
Devel::PixelBuffer DownloadImageSynchronously( const std::string& url, ImageDimensions size, FittingMode::Type fittingMode, SamplingMode::Type samplingMode, bool orientationCorrection )
{
bool orientationCorrection = true );
/**
+ * @brief Get the size of an original image
+ * @param[in] filename name of the image.
+ *
+ * @return dimensions to original image
+ */
+DALI_ADAPTOR_API ImageDimensions GetOriginalImageSize(
+ const std::string& filename);
+
+/**
* @brief Load an image synchronously from a remote resource.
*
* @param [in] url The URL of the image file to load.