You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Code
On iOS 16, some images couldn't be loaded from url.
imageView.SetImage(url)
Same code with same image works well on iOS 15.
Error
CGImageCreate: invalid image byte order info for bitsPerPixel != 32 = 16384
The text was updated successfully, but these errors were encountered:
atokuswanto
changed the title
Xamarin.SDWebImage
Xamarin.SDWebImage : SetImage() - CGImageCreate: invalid image byte order info for bitsPerPixel
Sep 28, 2022
I had the same issue, but using OpenCV's CvVideoCamera for live video processing. Worked fine on iOS 15, failed on iOS 16 with the same message as you're getting.
In my case it was because I had only 3 channels in my image, instead of 4. So I added the alpha channel, and that got rid of the error.
I have the same problem since IOS 16 update, seems like a fix was done in the native library. For the moment I disabled webp with SDWebImageManager.SharedManager.ImageDownloader.SetHttpHeaderValue("image/jpeg,image/png;q=0.8", "accept");
Environment
Code
On iOS 16, some images couldn't be loaded from url.
imageView.SetImage(url)
Same code with same image works well on iOS 15.
Error
CGImageCreate: invalid image byte order info for bitsPerPixel != 32 = 16384
The text was updated successfully, but these errors were encountered: