镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

TIFF incorrect colours #1270

Closed
Closed

Description

@radarhere

In case anyone wants to investigate this, I've found a TIFF that Pillow reads with the incorrect colours.

The linked image is black text on white writing. Pillow views it as green writing on a pink background.

To reproduce, just open the image and show it.

http://www.nightprogrammer.org/wp-uploads/2013/02/multipage_tiff_example.tif

Activity

  1. added
    BugAny unexpected behavior, until confirmed feature.
    on Jun 9, 2015
  2. wiredfool commented on Jun 9, 2015

    @wiredfool
    Member

    Looks like from the format key, we're interpreting this as an RGB image, but there's a tag (#530, YCbCrSubSampling) which seems to indicate that it's in YCbCr mode.

    I'd have to dig deeper to see if there are any other indications that the data isn't in RGB mode.

  3. hugovk commented on Mar 15, 2018

    @hugovk
    Member

    Fixed in #2899.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAny unexpected behavior, until confirmed feature.TIFF

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions