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

Typo in IMAGE_TYPES #463

Closed
paulcyr opened this issue Mar 3, 2020 · 1 comment
Closed

Typo in IMAGE_TYPES #463

paulcyr opened this issue Mar 3, 2020 · 1 comment
Labels
Milestone

Comments

@paulcyr
Copy link

paulcyr commented Mar 3, 2020

  • Wand version: 0.5.6
  • Python version: 3.6.7
  • PIP version: 19.3.1

There is a typo in image.py:671:

if MAGICK_VERSION_NUMBER >= 0x700:  # pragma: no cover
    IMAGE_TYPES = ('undefined', 'bilevel', 'grayscale', 'grayscalemalpha',
                   'palette', 'palettealpha', 'truecolor', 'truecoloralpha',
                   'colorseparation', 'colorseparationalpha', 'optimize',
                   'palettebilevelalpha')

grayscalemalpha has an errant m in it. It should be grayscalealpha.

@emcconville emcconville added this to the Wand 0.6.0 milestone Mar 4, 2020
@emcconville emcconville added the bug label Mar 4, 2020
@emcconville
Copy link
Owner

Great find! This will be resolved quickly, and apart of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants