Fixed gif-loading GetImageSize() bug 79/183679/2
authorminho.sun <minho.sun@samsung.com>
Tue, 10 Jul 2018 01:54:19 +0000 (10:54 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Fri, 13 Jul 2018 00:53:01 +0000 (00:53 +0000)
GifLoading::GetImageSize() returned wrong height.
Make it return right height.

Change-Id: I8fc45fbd0df155f38dfb24410b7cd6114f54d5d4
Signed-off-by: minho.sun <minho.sun@samsung.com>
dali/devel-api/adaptor-framework/gif-loading.cpp

index c1c6725b03594a9c249ceb804aeab3fa343b85b4..232c555ca6df6318abaefc566eaa4c937c82923b 100755 (executable)
@@ -1291,7 +1291,7 @@ bool GifLoading::LoadAllFrames( std::vector<Dali::PixelData> &pixelData, Dali::V
 
 ImageDimensions GifLoading::GetImageSize()
 {
-  return ImageDimensions( mImpl->imageProperties.w, mImpl->imageProperties.w );
+  return ImageDimensions( mImpl->imageProperties.w, mImpl->imageProperties.h );
 }
 
 int GifLoading::GetImageCount()