Images we save are full size (duh)

Applied to fix #5000 after some discussion and thought, this is really Quark's bug, but who am I to argue?
This commit is contained in:
Nick Lamb /GIMP
2000-01-30 05:01:58 +00:00
parent 4e38e85594
commit 9e0e369e4d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Mon Jan 31 02:55:00 GMT 2000 Nick Lamb <njl195@zepler.org.uk>
* plug-ins/common/tiff.c: Images we save are full size (duh)
Applied to fix #5000 after some discussion and thought, this
is really Quark's bug, but who am I to argue?
Mon Jan 31 01:42:54 CET 2000 Sven Neumann <sven@gimp.org>
* app/brush_select.c: get serious...

View File

@ -1272,6 +1272,7 @@ static gint save_image (char *filename,
rowsperstrip = 1;
/* Set TIFF parameters. */
TIFFSetField (tif, TIFFTAG_SUBFILETYPE, 0);
TIFFSetField (tif, TIFFTAG_IMAGEWIDTH, cols);
TIFFSetField (tif, TIFFTAG_IMAGELENGTH, rows);
TIFFSetField (tif, TIFFTAG_BITSPERSAMPLE, bitspersample);