Skip to content
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

test_data/bigtif_example_tiled.tif is not a Bigtiff #3

Closed
stuarteberg opened this issue Dec 10, 2016 · 1 comment
Closed

test_data/bigtif_example_tiled.tif is not a Bigtiff #3

stuarteberg opened this issue Dec 10, 2016 · 1 comment

Comments

@stuarteberg
Copy link

I was looking for an example of a 'tiled' Bigtiff file, so naturally I opened test_data/bigtif_example_tiled.tif from this repo:

In [90]: hex( ord( open('test_data/bigtif_example_tiled.tif', 'r').read(4)[2] ) )
Out[90]: '0x2a'

Whoops, the third byte of a Bigtiff file should be 0x2b, not 0x2a.[1]

[1]: http://bigtiff.org/

@pglock
Copy link
Collaborator

pglock commented Dec 12, 2016

Thanks! test_data/bigtif_example_tiled.tif is now a Bigtiff file.
Pytiff has now a function to check if a tiff file is a Bigtiff.

In [2]: pytiff.is_bigtiff("bigtif_example_tiled.tif")
Out[2]: True

@pglock pglock closed this as completed Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants