mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Set EXTRASAMPLES even if 0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10840 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
99818a7d2b
commit
0a30e76ea7
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-09-03 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/tiff.m (NSTiffWrite): Set EXTRASAMPLES even if 0.
|
||||
|
||||
2001-09-02 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSView.m (-lockFocusInRect:) Properly mark the save object.
|
||||
|
|
|
@ -465,8 +465,7 @@ NSTiffWrite(TIFF* image, NSTiffInfo* info, char* data)
|
|||
sample_info[0] = EXTRASAMPLE_ASSOCALPHA;
|
||||
else
|
||||
sample_info[0] = EXTRASAMPLE_UNASSALPHA;
|
||||
if (info->extraSamples)
|
||||
TIFFSetField(image, TIFFTAG_EXTRASAMPLES, 1, sample_info);
|
||||
TIFFSetField(image, TIFFTAG_EXTRASAMPLES, info->extraSamples, sample_info);
|
||||
|
||||
switch (info->photoInterp)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue