forked from bumptech/glide
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually read stream to byte array in gif decoder.
Doing so means we go from using 3x the necessary memory in the worst case to 2x, and in the best case we go from using 2x the necessary memory to using exactly what we need (for images larger than the buffer size). Progress toward bumptech#83
- Loading branch information
Showing
3 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters