Releases: phongcao/image-pipeline-windows
Update DefaultNativeMemoryChunkPoolParams
GIF decoder
Adds GIF decoder (force animated GIFs to be rendered as static images).
New API: GetFileCachePath
By design, when we call PrefetchToDiskCacheAsync
method, the image is downloaded and written to the staging area (in memory) and then a background task is initialized to actually writes the file to disk. GetFileCachePath
method was added to allow waiting for the file creation and returns its local path.
Update HTTP redirect handling
In http redirect handling, Fresco (Android) doesn't allow the next uri to have the same scheme as the original one (for example, http://domain1.com -> http://domain2.com will always fail). This changes the default behavior to allow more flexibity in http redirect requests.
Update DispatcherHelpers
- Use
CoreApplication.MainView.Dispatcher
instead ofCoreApplication.MainView.CoreWindow.Dispatcher
in DispatcherHelpers for scenarios like background activation (valid dispatcher is on the CoreApplicationView, not necessarily on the CoreWindow). - You can now pass an optional dispatcher when fetching images using
FetchEncodedBitmapImageAsync
andFetchDecodedBitmapImageAsync
methods (helpful in multi-window scenario).
New features and bug fixes
- Fetch local images as BitmapImage instead of WriteableBitmap.
- Fetch images from FutureAccessList urn (urn:future-access-list:{}).
- Several bug fixes related to invalid Uri handling.
Fix for file URI
ImageRequest with file URI (file:///) is now handled properly.
Fix for ms-appdata URI
ImageRequest with ms-appdata URI is now handled properly.
Windows App Certification Kit
Fixing Windows App Certification Kit issues.