mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Adjust DCT quality
This commit is contained in:
@@ -240,7 +240,7 @@ private final class AnimationCacheItemWriterInternal {
|
|||||||
|
|
||||||
init?(allocateTempFile: @escaping () -> String) {
|
init?(allocateTempFile: @escaping () -> String) {
|
||||||
self.dctQualityLuma = 70
|
self.dctQualityLuma = 70
|
||||||
self.dctQualityChroma = 75
|
self.dctQualityChroma = 88
|
||||||
|
|
||||||
self.compressedPath = allocateTempFile()
|
self.compressedPath = allocateTempFile()
|
||||||
|
|
||||||
@@ -442,7 +442,7 @@ private final class AnimationCacheItemWriterImpl: AnimationCacheItemWriter {
|
|||||||
|
|
||||||
init?(queue: Queue, allocateTempFile: @escaping () -> String, completion: @escaping (CompressedResult?) -> Void) {
|
init?(queue: Queue, allocateTempFile: @escaping () -> String, completion: @escaping (CompressedResult?) -> Void) {
|
||||||
self.dctQualityLuma = 70
|
self.dctQualityLuma = 70
|
||||||
self.dctQualityChroma = 75
|
self.dctQualityChroma = 88
|
||||||
|
|
||||||
self.queue = queue
|
self.queue = queue
|
||||||
self.compressedPath = allocateTempFile()
|
self.compressedPath = allocateTempFile()
|
||||||
|
|||||||
Reference in New Issue
Block a user