28 |
* Copyright (c) 2000-2002 By T.C. Zhao |
* Copyright (c) 2000-2002 By T.C. Zhao |
29 |
*. |
*. |
30 |
* |
* |
31 |
* TIFF file reader/writer for some tiff files. It is not possible to |
* TIFF file reader/writer for some tiff files. It is not possible to |
32 |
* develop a tiff reader to handle all possible valid tiffs. |
* develop a tiff reader to handle all possible valid tiffs. |
33 |
* |
* |
34 |
* could use some optimization |
* could use some optimization |
35 |
* |
* |
665 |
unsigned short **ctmp = FL_IsCI(im->type) ? im->ci : im->gray; |
unsigned short **ctmp = FL_IsCI(im->type) ? im->ci : im->gray; |
666 |
/* TIFF SPEC did not define 16 bps, and seems libtiff always |
/* TIFF SPEC did not define 16 bps, and seems libtiff always |
667 |
uses MSB. */ |
uses MSB. */ |
668 |
sbuf = convert2((void *) tmp, bytecount, MSBFirst /* sp->endian |
sbuf = convert2((void *) tmp, bytecount, MSBFirst /* sp->endian |
669 |
|
|
670 |
|
|
671 |
*/ ); |
*/ ); |