| | 324 | |
|---|
| | 325 | ############################################################################### |
|---|
| | 326 | # Checks a 1-bit mono with mask table having (0x00) black as transparent with white arrow. |
|---|
| | 327 | |
|---|
| | 328 | def nitf_16(): |
|---|
| | 329 | |
|---|
| | 330 | # From http://www.gwg.nga.mil/ntb/baseline/software/testfile/Nitfv2_1/ns3034d.nsf |
|---|
| | 331 | tst = gdaltest.GDALTest( 'NITF', 'ns3034d.nsf', 1, 170 ) |
|---|
| | 332 | return tst.testOpen() |
|---|
| | 333 | |
|---|
| | 334 | |
|---|
| | 335 | ############################################################################### |
|---|
| | 336 | # Checks a 1-bit RGB/LUT (green arrow) with a mask table (pad pixels having value of 0x00) |
|---|
| | 337 | # and a transparent pixel value of 1 being mapped to green by the LUT |
|---|
| | 338 | |
|---|
| | 339 | def nitf_17(): |
|---|
| | 340 | |
|---|
| | 341 | # From http://www.gwg.nga.mil/ntb/baseline/software/testfile/Nitfv2_1/i_3034f.ntf |
|---|
| | 342 | tst = gdaltest.GDALTest( 'NITF', 'i_3034f.ntf', 1, 170 ) |
|---|
| | 343 | return tst.testOpen() |
|---|