10 |
|
#include <stdio.h> |
11 |
|
#include <math.h> |
12 |
|
#include <ctype.h> |
13 |
+ |
#include <time.h> |
14 |
|
#include "tiffio.h" |
15 |
|
#include "color.h" |
16 |
|
#include "resolu.h" |
542 |
|
cvts.tf = Color2RRGGBB; |
543 |
|
SET(C_RFLT); |
544 |
|
} else if (CHK(C_TFLT)) { |
545 |
+ |
TIFFSetField(cvts.tif, TIFFTAG_SAMPLEFORMAT, |
546 |
+ |
SAMPLEFORMAT_IEEEFP); |
547 |
|
cvts.tf = Color2RfGfBf; |
548 |
|
SET(C_RFLT); |
549 |
|
} else |
556 |
|
cvts.tf = Color2GGry; |
557 |
|
SET(C_RFLT); |
558 |
|
} else if (CHK(C_TFLT)) { |
559 |
+ |
TIFFSetField(cvts.tif, TIFFTAG_SAMPLEFORMAT, |
560 |
+ |
SAMPLEFORMAT_IEEEFP); |
561 |
|
cvts.tf = Color2Gryf; |
562 |
|
SET(C_RFLT); |
563 |
|
} else |