From 3e8fe53f472596667671911591d23be23b5d392f Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sat, 23 Jul 2022 00:47:07 +0200 Subject: [PATCH] Adjust DCT quality --- .../Components/AnimationCache/Sources/AnimationCache.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramUI/Components/AnimationCache/Sources/AnimationCache.swift b/submodules/TelegramUI/Components/AnimationCache/Sources/AnimationCache.swift index 081ab6a77e..59a51609cc 100644 --- a/submodules/TelegramUI/Components/AnimationCache/Sources/AnimationCache.swift +++ b/submodules/TelegramUI/Components/AnimationCache/Sources/AnimationCache.swift @@ -240,7 +240,7 @@ private final class AnimationCacheItemWriterInternal { init?(allocateTempFile: @escaping () -> String) { self.dctQualityLuma = 70 - self.dctQualityChroma = 75 + self.dctQualityChroma = 88 self.compressedPath = allocateTempFile() @@ -442,7 +442,7 @@ private final class AnimationCacheItemWriterImpl: AnimationCacheItemWriter { init?(queue: Queue, allocateTempFile: @escaping () -> String, completion: @escaping (CompressedResult?) -> Void) { self.dctQualityLuma = 70 - self.dctQualityChroma = 75 + self.dctQualityChroma = 88 self.queue = queue self.compressedPath = allocateTempFile()