TIFFReader.st
changeset 4336 7f2596e303be
parent 4103 2d8da32cf18b
child 4347 84221b29f234
equal deleted inserted replaced
4335:b2f54296fd1b 4336:7f2596e303be
     1 "{ Encoding: utf8 }"
       
     2 
       
     3 "
     1 "
     4  COPYRIGHT (c) 1991 by Claus Gittinger
     2  COPYRIGHT (c) 1991 by Claus Gittinger
     5 	      All Rights Reserved
     3 	      All Rights Reserved
     6 
     4 
     7  This software is furnished under a license and may be used
     5  This software is furnished under a license and may be used
  1129                 "/ swapInt16s := true.
  1127                 "/ swapInt16s := true.
  1130             ].    
  1128             ].    
  1131         ].    
  1129         ].    
  1132     ].
  1130     ].
  1133 
  1131 
  1134     bitsPerSample sum isPowerOfTwo ifFalse:[
  1132     bitsPerSample sum isPowerOf2 ifFalse:[
  1135         (#(24 48) includes:bitsPerSample sum) ifFalse:[
  1133         (#(24 48) includes:bitsPerSample sum) ifFalse:[
  1136             ^ self fileFormatError:'unsupported bitsPerSample: ' , bitsPerSample printString
  1134             ^ self fileFormatError:'unsupported bitsPerSample: ' , bitsPerSample printString
  1137         ].
  1135         ].
  1138     ].
  1136     ].
  1139     
  1137