Adding gray8, nv12 and nv21 support in ImageBuffer.
[platform/framework/native/image.git] / src / FMedia_ImageUriDataEvent.cpp
index 83052d7..97ecff2 100644 (file)
@@ -103,8 +103,7 @@ _ImageUriDataEvent::FireImpl(Runtime::IEventListener& listener, const Runtime::I
                        std::unique_ptr<Bitmap> pBitmap(_ImageImpl::DecodeToBitmapN(*((pArg)->GetData()),
                                pArg->GetColorFormat(),
                                pArg->GetDestDimension(),
-                               BUFFER_SCALING_AUTO,
-                               pArg->GetImageFormat()));
+                               BUFFER_SCALING_AUTO));
 
                        if (pBitmap.get() != null)
                        {