TIF file with JPEG2000 compression
Posted: 2018-04-06T11:58:50-07:00
I have a number of TIF files with a compression tag of 34712 (JPEG2000). These images show up completely black in the majority of viewers.
I'm trying to convert these to any other format but get the error: Compression scheme 34712 scanline decoding is not implemented.
Does anyone know how I can convert these files? Is it possible to change the container without trying to decompress the image?
I'm trying to convert these to any other format but get the error: Compression scheme 34712 scanline decoding is not implemented.
Does anyone know how I can convert these files? Is it possible to change the container without trying to decompress the image?
Code: Select all
Dump info:
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
Directory 0: offset 8 (0x8) next 0 (0)
SubFileType (254) LONG (4) 1<2>
ImageWidth (256) LONG (4) 1<1276>
ImageLength (257) LONG (4) 1<1650>
BitsPerSample (258) SHORT (3) 1<8>
Compression (259) SHORT (3) 1<34712>
Photometric (262) SHORT (3) 1<3>
StripOffsets (273) LONG (4) 1<1770>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
RowsPerStrip (278) LONG (4) 1<1650>
StripByteCounts (279) LONG (4) 1<659301>
XResolution (282) RATIONAL (5) 1<150>
YResolution (283) RATIONAL (5) 1<150>
PlanarConfig (284) SHORT (3) 1<1>
ResolutionUnit (296) SHORT (3) 1<2>
PageNumber (297) SHORT (3) 2<0 0>
Colormap (320) SHORT (3) 768<0 256 512 768 1024 1280 1536 1792 2048 2304 2560 2816 3072 3328 3584 3840 4096 4352 4608 4864 5120 5376 5632 5888 ...>