From a04146964348fb2ad00a31a38473de74a547867d Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Wed, 10 Jan 2024 12:12:28 +0800 Subject: [PATCH] Fix that PNG indexed color fix does not enable on Release Build configuration --- SDWebImage/Core/SDImageIOAnimatedCoder.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/SDWebImage/Core/SDImageIOAnimatedCoder.m b/SDWebImage/Core/SDImageIOAnimatedCoder.m index 7af5cb44..77ccb0d4 100644 --- a/SDWebImage/Core/SDImageIOAnimatedCoder.m +++ b/SDWebImage/Core/SDImageIOAnimatedCoder.m @@ -238,10 +238,8 @@ static BOOL SDImageIOPNGPluginBuggyNeedWorkaround(void) { // Correct value isBuggy = NO; } else { -#if DEBUG NSLog(@"Detected the current OS's ImageIO PNG Decoder is buggy on indexed color PNG. Perform workaround solution..."); isBuggy = YES; -#endif } } CFRelease(source);