Quality issues for animated images
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- objective-c
- Ambito
- computer-graphics, performance
Direzione di ricerca
Inizia da SDImageCoderHelper.defaultScaleDownLimitBytes e analizza la pull request collegata di SDWebImageWebPCoder alla riga indicata. Riproduci il comportamento relativo alla qualità e alle dimensioni delle immagini animate con i limiti specificati, quindi analizza separatamente l’ordine dei download dal disco o dalla rete. Il lavoro è completato quando i comportamenti osservati sono spiegati e tutte le regressioni confermate hanno test mirati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
My code includes the setting of this limitation:
/// Limits scale down to 24MB.
SDImageCoderHelper.defaultScaleDownLimitBytes = 24 * 1_024 * 1_024
When I get an animated image data that weighs 1.8 MB, the quality is severely degraded, and if I saw correctly my final image was 0.5 MB. I tried to play around with setting the value and in the end I got an image of 7200 bytes with the 1 MB limit set.
This was strange to me, so I tried exploring the codebase and seemed to find the problem in this line: https://github.com/SDWebImage/SDWebImageWebPCoder/pull/75/files#diff-e9c046b25a4d1b5fd2e490c2ebc802f1a63ef0459e0ad74dd3647f72d9c68323R94
Am I misunderstanding the expected behavior? Because it looks like a bug to me. Since it is strange that by setting the limit to 24 MB I get image quality degradation and image size reduction when its image data size is only 1.77 MB.
Also maybe you can tell me why when I try to download a heavy image and several small images, if the heavy image was added earlier, I don't get a response for the small images until the large one is downloaded? (It is important to note that I am considering the case of downloading an image from disk or over the network, only in these cases this happens).
- Lingua principale
- Objective-C
- Stelle
- 277
- Fork
- 101
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SDWebImage/SDWebImageWebPCoder
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
SDWebImage/SDWebImageWebPCoder#117 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
SDWebImage/SDWebImageWebPCoder#116 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
SDWebImage/SDWebImageWebPCoder#115 · 4 commenti ·
-
Frames loading Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
SDWebImage/SDWebImageWebPCoder#105 · 15 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
SDWebImage/SDWebImageWebPCoder#78 · 2 commenti ·
Tutte le issue di SDWebImage/SDWebImageWebPCoder
Issue simili
-
Suzhou subway logo ApertaIcons Metro Public Transport
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
organicmaps/organicmaps#13617 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
objective-see/LuLu#925 ·
-
macOS下查找brew::ncurse失败 Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
obsproject/obs-studio#13918 ·