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 99ccc8b + c6be3db commit b6e2798Copy full SHA for b6e2798
SDWebImageBPGCoder/Classes/SDImageBPGCoder.m
@@ -304,7 +304,8 @@ - (BPGImage *)sd_encodedBPGFrameWithImage:(nonnull UIImage *)image {
304
.bitsPerComponent = (uint32_t)bitsPerComponent,
305
.bitsPerPixel = (uint32_t)bitsPerPixel,
306
.colorSpace = CGImageGetColorSpace(imageRef),
307
- .bitmapInfo = bitmapInfo
+ .bitmapInfo = bitmapInfo,
308
+ .renderingIntent = CGImageGetRenderingIntent(imageRef)
309
};
310
vImage_CGImageFormat destFormat = {
311
.bitsPerComponent = 16,
0 commit comments