Skip to content

Conversation

@kmilos
Copy link
Contributor

@kmilos kmilos commented Oct 1, 2021

Fixes #5740

Changes proposed in this pull request:

  • Add a way to override the strip size by redefining PIL.TiffImagePlugin.STRIP_SIZE (in bytes)
  • Do not round up rows_per_strip, requested strip size should not be exceeded

@radarhere radarhere added the TIFF label Oct 1, 2021
@radarhere radarhere mentioned this pull request Oct 8, 2021
@radarhere
Copy link
Member

I created kmilos#3 to add a test for this.

@kmilos
Copy link
Contributor Author

kmilos commented Oct 14, 2021

Thanks for fixing up the PR!

@hugovk hugovk merged commit e04f2ed into python-pillow:master Oct 14, 2021
@hugovk
Copy link
Member

hugovk commented Oct 14, 2021

Thanks all!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-strip usage when encoding group4 TIF breaks use in PDF

4 participants