Skip to content

Document 16-bit modes? #4043

Description

@anntzer

What did you do?

The 16-bit-per-channel modes are not documented or even mentioned under https://pillow.readthedocs.io/en/stable/handbook/concepts.html

What did you expect to happen?

At least mention them.

What actually happened?

Open e.g. Tests/images/16bit.MM.cropped.tif and check that the image mode is "I;16B".

What are your OS, Python and Pillow versions?

  • OS: any
  • Python: any
  • Pillow: 6.1.0
In [1]: PIL.Image.open("Tests/images/16bit.MM.cropped.tif").mode
Out[1]: 'I;16B'

Activity

  1. radarhere commented on Sep 5, 2019

    @radarhere
    Member

    I've created PR #4047 to resolve this.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions