Add api for load image from encoded buffer + fix file-reader.h bug 19/259119/5
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 2 Jun 2021 00:54:41 +0000 (09:54 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 10 Jun 2021 01:10:20 +0000 (10:10 +0900)
commit8ee0fe0ef036a9477079190d8725920db2f2aa1c
treea2092c75c5434e52c10639767742a58d059f0ab3
parent61819938e94ac360aaa11865ae990c85253e09cd
Add api for load image from encoded buffer + fix file-reader.h bug

Add api ImageLoading::LoadImageFromBuffer(const Dali::Vector<uint8_t>&)
We can load image from encoded image buffer.
+
Fix some portential error when we use Internal::Platform::FileReader
This patch will increase the convenience
of using a Internal::Platform::FileReader

Change-Id: I0e9b77fc4665261959ed6e027e398e78db2c1d31
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-adaptor/utc-Dali-ImageLoading.cpp
dali/devel-api/adaptor-framework/image-loading.cpp
dali/devel-api/adaptor-framework/image-loading.h
dali/internal/system/common/file-reader.h