Skip to content

Deprecation warning from Pillow #38

@AlexanderPodorov

Description

@AlexanderPodorov

Following deprecation warning is shown:

DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    image = image.resize((int(width*self.dpmm), int(height*self.dpmm)), PIL.Image.NEAREST)

My settings:
MacOS,
python 3.11.0
zpl==0.1.10
pillow==9.3.0

Thank you for this library!

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