Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pillow no longer has a _makeself() method #1

@vitorio

Description

@vitorio

As of Pillow 4.0.0 (2017-01-01), _makeself() was replaced by _new: https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst#400-2017-01-01

Use Image._new() instead of _makeself() #2248 [homm]

Issue: python-pillow/Pillow#2248

Changing the two references in palette.py from _makeself to _new makes hitherdither work with recent Pillow releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions