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 ad73320 + 3ccb72d commit dbf2e87Copy full SHA for dbf2e87
SDWebImageFLIFCoder/Classes/SDImageFLIFCoder.m
@@ -374,7 +374,8 @@ - (FLIF_IMAGE *)sd_encodedFLIFFrameWithImage:(nonnull UIImage *)image {
374
.bitsPerComponent = (uint32_t)CGImageGetBitsPerComponent(imageRef),
375
.bitsPerPixel = (uint32_t)CGImageGetBitsPerPixel(imageRef),
376
.colorSpace = CGImageGetColorSpace(imageRef),
377
- .bitmapInfo = bitmapInfo
+ .bitmapInfo = bitmapInfo,
378
+ .renderingIntent = CGImageGetRenderingIntent(imageRef)
379
};
380
vImage_CGImageFormat destFormat = {
381
.bitsPerComponent = 8,
0 commit comments