scardine / image_size

Get image width and height given a file path using minimal dependencies (no need for PIL, libjpeg, libpng, etc)
MIT License
153 stars 45 forks source link

TIF support #5

Closed Mallard2 closed 8 years ago

Mallard2 commented 8 years ago

I now also added TIFF format support for a variety of different types. Separate derivatives of TIFF (i.e. separate but TIFF-like formats like BigTIFF etc) are currently not supported. When the weather is bad I might add some more formats. Also I noticed an issue about .startswith() for newer Python versions which is used for PNG, JPEG and BMP; I'll look at that later.

scardine commented 8 years ago

Nice! :-)

By newer you mean Python3? I guess we probably will step into some bytes versus strings madness.

Mallard2 commented 8 years ago

On 21.07.2015 21:28, Paulo Scardine wrote:

Nice! :-)

By newer you mean Python3? I guess we probably will step into some bytes versus strings madness.

— Reply to this email directly or view it on GitHub https://github.com/scardine/image_size/pull/5#issuecomment-123454514.

Thanks :) @Python 3 and byte vs string: yes, exactly.