We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64ec69d + 6155a8c commit 2acebf8Copy full SHA for 2acebf8
SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m
@@ -110,7 +110,8 @@ - (nullable NSData *)encodedDataWithImage:(nullable UIImage *)image format:(SDIm
110
.bitsPerComponent = (uint32_t)bitsPerComponent,
111
.bitsPerPixel = (uint32_t)bitsPerPixel,
112
.colorSpace = CGImageGetColorSpace(imageRef),
113
- .bitmapInfo = bitmapInfo
+ .bitmapInfo = bitmapInfo,
114
+ .renderingIntent = CGImageGetRenderingIntent(imageRef)
115
};
116
vImage_CGImageFormat destFormat = {
117
.bitsPerComponent = 8,
0 commit comments