Skip to content

Save RGB Tiff using LibTiff raises exception #387

Description

@wiredfool

TiffImagePlugin.py, line 1010:
atts = dict([(k,v) for (k,(v,)) in ifd.items() if k not in blocklist])

fails on BytesPerSample = (8,8,8), since there are too many bytes to unpack.

This wasn't a problem with bilevel g3/4, but is for deflate.

Activity

  1. wiredfool commented on Oct 21, 2013

    @wiredfool
    MemberAuthor

    Also, test what G4 does with color data. And possibly prevent that compression on anything but a mode 1 image.

  2. added a commit that references this issue on Sep 24, 2023
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions