Changeset 13410
- Timestamp:
- 12/20/07 20:14:18 (5 months ago)
- Files:
-
- trunk/autotest/gcore/data/oddsize1bit.tif (added)
- trunk/autotest/gcore/tiff_write.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/autotest/gcore/tiff_write.py
r12611 r13410 283 283 ds = None 284 284 285 #gdaltest.tiff_drv.Delete( 'tmp/test_7.tif' )285 gdaltest.tiff_drv.Delete( 'tmp/test_7.tif' ) 286 286 287 287 return 'success' … … 354 354 options = [ 'NBITS=1', 'INTERLEAVE=BAND' ] ) 355 355 return ut.testCreate( out_bands = 2 ) 356 357 ############################################################################### 358 # Simple 1 bit file, treated through the GTiffBitmapBand class. 359 360 def tiff_write_11(): 361 362 ut = gdaltest.GDALTest( 'GTiff', 'oddsize1bit.tif', 1, 5918, 363 options = [ 'NBITS=1', 'COMPRESS=CCITTFAX4' ] ) 364 return ut.testCreateCopy() 356 365 357 366 def tiff_write_cleanup(): … … 371 380 tiff_write_9, 372 381 tiff_write_10, 382 tiff_write_11, 373 383 tiff_write_cleanup ] 374 384
