Skip to content

Bug fixed & compression optimized using CSS color names#16

Merged
javierbyte merged 1 commit intojavierbyte:gh-pagesfrom
Need4Video:patch-1
Nov 11, 2015
Merged

Bug fixed & compression optimized using CSS color names#16
javierbyte merged 1 commit intojavierbyte:gh-pagesfrom
Need4Video:patch-1

Conversation

@Need4Video
Copy link
Contributor

  • The color optimization code was buggy for some colors such as fuchsia (#FF00FF) which was wrongly converted to red (#F00).
    RRGGBB colors were converted to 3-character-length notation RGG when possible and not RGB!
  • The use of CSS color names (and not hexadecimal notation) allow smaller notations which means a smaller output result.

- The color optimization code was buggy for some colors such as fuchsia (#FF00FF) which was wrongly converted to red (#F00).
RRGGBB colors were converted to 3-character-length notation RGG when possible and not RGB!

- The use of CSS color names (and not hexadecimal notation) allow smaller notations which means a smaller output result.
javierbyte added a commit that referenced this pull request Nov 11, 2015
Bug fixed & compression optimized using CSS color names
@javierbyte javierbyte merged commit 5615587 into javierbyte:gh-pages Nov 11, 2015
@javierbyte
Copy link
Owner

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants