parent
632f6a1a4f
commit
691427ea8d
@ -407,11 +407,11 @@ ShowRawWords(uint16* pp, uint32 n)
|
||||
putchar('\n');
|
||||
}
|
||||
|
||||
void
|
||||
TIFFReadRawData(TIFF* tif, int bitrev)
|
||||
static void
|
||||
TIFFReadRawDataStriped(TIFF* tif, int bitrev)
|
||||
{
|
||||
tstrip_t nstrips = TIFFNumberOfStrips(tif);
|
||||
const char* what = TIFFIsTiled(tif) ? "Tile" : "Strip";
|
||||
const char* what = "Strip";
|
||||
uint64* stripbc=NULL;
|
||||
|
||||
TIFFGetField(tif, TIFFTAG_STRIPBYTECOUNTS, &stripbc);
|
||||
@ -455,6 +455,22 @@ TIFFReadRawData(TIFF* tif, int bitrev)
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
TIFFReadRawDataTiled(TIFF* tif, int bitrev)
|
||||
{
|
||||
const char* what = "Tile";
|
||||
}
|
||||
|
||||
void
|
||||
TIFFReadRawData(TIFF* tif, int bitrev)
|
||||
{
|
||||
if (TIFFIsTiled(tif)) {
|
||||
TIFFReadRawDataTiled(tif, bitrev);
|
||||
} else {
|
||||
TIFFReadRawDataStriped(tif, bitrev);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
tiffinfo(TIFF* tif, uint16 order, long flags, int is_image)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user