Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for greyscale when small image uses palette #130

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 15, 2017

  1. Check for greyscale when small image uses palette

    When a small file is stored with a palette, a test is made to see if
    removing the palette, and the overhead that goes with it, results in
    an even smaller file.  That test was always attempting RGB or RGBA
    mode even when the image in question was greyscale.  I added a check
    for greyscale.
    SuperFun99 committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    537ca9b View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. Use bit depth of greyscale when trying to beat palette

    When checking if an image is smaller without a palette, use
    the minimum bit depth for greyscale images instead of
    defaulting to 8 bits.
    SuperFun99 committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    38b6ffb View commit details
    Browse the repository at this point in the history