tiff-ios icon indicating copy to clipboard operation
tiff-ios copied to clipboard

Deflate decoder is not yet implemented

Open rdkgit opened this issue 2 years ago • 7 comments

Please fill out as much known and relevant information as possible.

Version Information:

  • TIFF iOS Version: 4.0.1
  • TIFF iOS Source: (e.g. CocoaPods, Source Code Build) Build from source
  • CocoaPods Version: 4.0.2
  • Xcode Version: 14.2
  • Device or Emulator: iphone 14 ios 16.2
  • iOS Version: 16.2
  • Other Relevant Libraries:

Expected Results:

  • What did you expect to happen? Loaded a geotiff file (that works with android library) and tried to access rasters and it crashes with error "Deflate decoder is not yet implemented"

Observed Results:

  • What happened instead? "Deflate decoder is not yet implemented"
  • How often does this occur? Consistent

Output:

  • Any logs, errors, or output messages?
  • Terminating app due to uncaught exception 'Not Implemented', reason: 'Deflate decoder is not yet implemented' *** First throw call stack: ( 0 CoreFoundation 0x000000018040e7c8 __exceptionPreprocess + 172 1 libobjc.A.dylib 0x0000000180051144 objc_exception_throw + 56 2 CoreFoundation 0x000000018040e6d8 -[NSException initWithCoder:] + 0 3 tiff_ios 0x000000010079ef38 -[TIFFDeflateCompression decodeData:withByteOrder:] + 96 4 tiff_ios 0x0000000100792b1c -[TIFFFileDirectory tileOrStripWithX:andY:andSample:] + 1700 5 tiff_ios 0x0000000100791b3c -[TIFFFileDirectory readRastersWithWindow:andSamples:andRasters:] + 1256 6 tiff_ios 0x00000001007915f0 -[TIFFFileDirectory readRastersWithWindow:andSamples:andSampleValues:andInterleaveValues:] + 1460 7 tiff_ios 0x0000000100790d44 -[TIFFFileDirectory readRastersWithWindow:andSamples:] + 112 8 tiff_ios 0x0000000100790aec -[TIFFFileDirectory readRastersWithWindow:] + 72 9 tiff_ios 0x0000000100790a04 -[TIFFFileDirectory readRasters] + 72

Steps to Reproduce:

  1. Step One
  2. Step Two
  3. ...

Relevant Code:

ios swift rasters = directory!.readRasters()

// Code to reproduce the problem?

Test Files:

  • Links to any files needed for testing?
  • https://github.com/mkrupczak3/OpenAthena/blob/main/src/cobb.tif

Additional Information:

  • Any additional configuration, data, or information that might help with the issue?

rdkgit avatar Feb 03 '23 23:02 rdkgit