-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add support for reading TIFFs with PlanarConfiguration=2 #5178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4bc667b
Add Tests and support for Planar Tiff Images
kkopachev a97e08a
Implementation for PlanarConfiguration=2 Tiffs, manually merged from …
wiredfool afb3869
initialize the unpackers
wiredfool 457ee6e
Merge branch 'master' into 4641_rebase
radarhere 4aa684f
correct TIFFTAG_PLANARCONFIG size
nulano 8c24738
the previous commit also fixes these big-endian failures
nulano 963ade0
remove double pointer
nulano 2e4cbc7
Merge pull request #6 from nulano/4641_rebase
wiredfool 0f2617a
Planes should be int, not uint
wiredfool 6e57481
Use flag instead of recalculating
wiredfool 3c6a3fa
not
wiredfool b30c41e
UINT8 -> int for plane
wiredfool File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not yet sure what is going on, but compiling with debug information shows that
state->bufferis NULL on this line even though it was valid on line 587 for the realloc call.The error doesn't show up when compiling with in a debug build (
setup.py build_ext --dubug), I had to changesetup.pyline 852 toExtension("PIL._imaging", files, extra_compile_args=["/Z7"], extra_link_args=["/DEBUG"]),and copy the PDB to the PIL directory.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solved it, see wiredfool#6