Fix: Preserve loop attribute for animated images in processors#668
Open
mihalikv wants to merge 1 commit intoSmileyChris:masterfrom
Open
Fix: Preserve loop attribute for animated images in processors#668mihalikv wants to merge 1 commit intoSmileyChris:masterfrom
mihalikv wants to merge 1 commit intoSmileyChris:masterfrom
Conversation
Animated GIFs processed with the background processor (and other processors) were losing the loop attribute, causing them to loop only once instead of preserving the original loop count. Changes: - Preserve loop attribute in FrameAware.apply_to_frames() - Preserve loop attribute in colorspace processor when replace_alpha is used with animated images - Preserve loop attribute in background processor for animated images - Add test_background_loop_preserved() to verify loop preservation Fixes issue where animated GIFs would ignore their loop setting and only loop once after processing with the background processor.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Animated GIFs processed with the background processor (and other processors) were losing the loop attribute, causing them to loop only once instead of preserving the original loop count.
Changes:
Fixes issue where animated GIFs would ignore their loop setting and only loop once after processing with the background processor.