According to tiffdump,
Code: Select all
$ tiffdump NotWorking.tiff
NotWorking.tiff:
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
Directory 0: offset 8 (0x8) next 0 (0)
SubFileType (254) LONG (4) 1<0>
ImageWidth (256) LONG (4) 1<1700>
ImageLength (257) LONG (4) 1<2200>
BitsPerSample (258) SHORT (3) 1<8>
Compression (259) SHORT (3) 1<6>
Photometric (262) SHORT (3) 1<3>
FillOrder (266) SHORT (3) 1<1>
StripOffsets (273) LONG (4) 1<2046>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
RowsPerStrip (278) LONG (4) 1<2200>
StripByteCounts (279) LONG (4) 1<477825>
XResolution (282) RATIONAL (5) 1<200>
YResolution (283) RATIONAL (5) 1<200>
PlanarConfig (284) SHORT (3) 1<1>
ResolutionUnit (296) SHORT (3) 1<2>
DateTime (306) ASCII (2) 20<2018:02:23 11:45:16\0>
Artist (315) ASCII (2) 200<2004 SNOWBOUND, ALL RIGH ...>
JPEGInterchangeFormat (513) LONG (4) 1<516>
Colormap (320) SHORT (3) 768<0 65280 768 0 0 768 0 0 1024 0 4608 768 0 0 768 0 0 1024 0 0 1024 0 256 1280 ...>
your data is located at 2046 byte point and its byte count is 477825. As everyone says, this is likely to be a non-standard tiff file, however, when compression is old-jpeg, raw data is sometimes found there.
Code: Select all
$ tail -c+2047 NotWorking.tiff | od -cx | head
0000000 377 330 377 340 \0 020 J F I F \0 001 \0 001 \0 000
d8ff e0ff 1000 464a 4649 0100 0100 c800
0000020 \0 310 \0 \0 377 333 \0 204 \0 020 \v \f 016 \f \n 020
c800 0000 dbff 8400 1000 0c0b 0c0e 100a
0000040 016 \r 016 022 021 020 023 030 ( 032 030 026 026 030 1 #
0d0e 120e 1011 1813 1a28 1618 1816 2331
0000060 % 035 ( : 3 = < 9 3 8 7 @ H \ N @
1d25 3a28 3d33 393c 3833 4037 5c48 404e
0000100 D W E 7 8 P m Q W _ b g h g > M
5744 3745 5038 516d 5f57 6762 6768 4d3e
Well, it looks JFIF format, so you can extract the data cutting the header (and the trailer if it has).
Code: Select all
$ tail -c+2047 NotWorking.tiff | head -c 477825 > tmp.jpg
$ identify tmp.jpg
tmp.jpg JPEG 1700x2200 1700x2200+0+0 8-bit Gray 256c 477825B 0.000u 0:00.000
Now I can see the file with display command and can convert it to png.