Some fixes on behalf of GreatBull issue #649
This commit is contained in:
@@ -785,7 +785,7 @@ int ImageIO::saveTIFF (Glib::ustring fname, int bps, bool uncompressed) {
|
||||
|
||||
exif->write (8, buffer);
|
||||
write (TIFFFileno (out), buffer+8, exif_size);
|
||||
delete buffer;
|
||||
delete [] buffer;
|
||||
// let libtiff know that scanlines or any other following stuff should go
|
||||
// at a different offset:
|
||||
TIFFSetWriteOffset (out, exif_size+8);
|
||||
|
Reference in New Issue
Block a user