Closed peter279k closed 5 years ago
TIFF is already supported :-)
I know that and I enhance original approach.
Before we add more complexity we should ask what kind of problem does it solve? Do you think the current solution does't detects the TIFF correctly? Is there a bug? Does it really matter for the image detection weather its has little endian or not? I think not.
@odan, ok. That's right.
Reading the next 2 bytes seems that detecting the TIFF
image in advanced, and it's optional work.
Changed log
tiff
image format detection approach.The enhanced approach is as follows:
II
orMM
.42
and the format will be the big or little endian format.