System.BadImageFormatException: Not a valid bitmap at FFImageLoading.PlatformImageLoaderTask1[TImageView].GenerateImageFromDecoderContainerAsync (FFImageLoading.IDecodedImage1[TNativeImageContainer] decoded, FFImageLoading.Work.ImageInformation imageInformation, System.Boolean isPlaceholder) [0x000ba] in C:\projects\ffimageloading\source\FFImageLoading.Droid\Work\PlatformImageLoadingTask.cs:221 at FFImageLoading.Work.ImageLoaderTask3[TDecoderContainer,TImageContainer,TImageView].GenerateImageAsync (System.String path, FFImageLoading.Work.ImageSource source, System.IO.Stream imageData, FFImageLoading.Work.ImageInformation imageInformation, System.Boolean enableTransformations, System.Boolean isPlaceholder) [0x002e2] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:360
at FFImageLoading.Work.ImageLoaderTask3[TDecoderContainer,TImageContainer,TImageView].RunAsync () [0x0047c] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:643 [skia] --- SkAndroidCodec::NewFromStream returned null [skia] --- SkAndroidCodec::NewFromStream returned null
Basic Information
Version with issue: 2.4.11.982
Last known good version:
Platform: Mac OS via Xamarin Form Version 4.0.0.482894
Description
I using CachedImage binding link url, format JPG. IOS is everything ok but Android image loading fail
<ffImageLoading:CachedImage Grid.Row="0" Aspect="AspectFit" Source="{Binding Image}" />
Steps to Reproduce
Expected Behavior
Actual Behavior
System.BadImageFormatException: Not a valid bitmap at FFImageLoading.PlatformImageLoaderTask
1[TImageView].GenerateImageFromDecoderContainerAsync (FFImageLoading.IDecodedImage1[TNativeImageContainer] decoded, FFImageLoading.Work.ImageInformation imageInformation, System.Boolean isPlaceholder) [0x000ba] in C:\projects\ffimageloading\source\FFImageLoading.Droid\Work\PlatformImageLoadingTask.cs:221 at FFImageLoading.Work.ImageLoaderTask
3[TDecoderContainer,TImageContainer,TImageView].GenerateImageAsync (System.String path, FFImageLoading.Work.ImageSource source, System.IO.Stream imageData, FFImageLoading.Work.ImageInformation imageInformation, System.Boolean enableTransformations, System.Boolean isPlaceholder) [0x002e2] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:360 at FFImageLoading.Work.ImageLoaderTask3[TDecoderContainer,TImageContainer,TImageView].RunAsync () [0x0047c] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:643 [skia] --- SkAndroidCodec::NewFromStream returned null [skia] --- SkAndroidCodec::NewFromStream returned null
Basic Information
Screenshots
Reproduction Link / Code