Beta
Gif Animation and Transparency
9rsa
Loading description...
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
The description did not describe at all what transparency operation actually do: it replaces every pixel that did not change between two frames to the "transparent" palette.
Notably, it removes the possibility of removing only some of these pixels to achieve a better compression.
Expected and actual values are flipped in the tests.
Duplicate of https://www.codewars.com/kata/55833364a2e09a6887000166 ?
While the linked kata asks you to implement LZW compression and decompression, this kata furthermore asks you to determine the savings in compressed size, when introducing a transparent color in animated GIFs.