Save_TIFF(): do not call TIFFFlushData()
This commit is contained in:
parent
fd702d31b5
commit
103fc6bd49
@ -739,14 +739,14 @@ void Save_TIFF_Sub(T_IO_Context * context, TIFF * tif)
|
|||||||
|
|
||||||
if (layer >= context->Nb_layers)
|
if (layer >= context->Nb_layers)
|
||||||
{
|
{
|
||||||
TIFFFlushData(tif);
|
//TIFFFlushData(tif);
|
||||||
File_error = 0; // everything was fine
|
File_error = 0; // everything was fine
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Set_saving_layer(context, layer);
|
Set_saving_layer(context, layer);
|
||||||
if (!TIFFWriteDirectory(tif))
|
if (!TIFFWriteDirectory(tif))
|
||||||
return;
|
return;
|
||||||
TIFFFlushData(tif);
|
//TIFFFlushData(tif);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user