GraphicsMagick: coders/tiff.c Fix compillation problem in MSVC.
GraphicsMagick Commits <[email protected]> Tue, 15 Aug 2023 15:21:12 -0500
| Newsgroups | gmane.comp.video.graphicsmagick.cvs |
|---|---|
| Message-ID | <mailman.9251.1692130880.1761.graphicsmagick-commit@lists.sourceforge.net> |
changeset 192d2b3bc720 in /hg/GraphicsMagick details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=192d2b3bc720 summary: coders/tiff.c Fix compillation problem in MSVC. diffstat: ChangeLog | 5 +++++ coders/tiff.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletions(-) diffs (32 lines): diff -r a412298d004b -r 192d2b3bc720 ChangeLog --- a/ChangeLog Tue Aug 15 08:05:11 2023 -0500 +++ b/ChangeLog Tue Aug 15 22:20:49 2023 +0200 @@ -1,3 +1,8 @@ +2023-08-15 Fojtik Jaroslav <[email protected]> + + * coders/tiff.c Fix compillation problem in MSVC. + + 2023-08-15 Bob Friesenhahn <[email protected]> * coders/tiff.c (WriteTIFFImage): Default the alpha channel to diff -r a412298d004b -r 192d2b3bc720 coders/tiff.c --- a/coders/tiff.c Tue Aug 15 08:05:11 2023 -0500 +++ b/coders/tiff.c Tue Aug 15 22:20:49 2023 +0200 @@ -5143,7 +5143,6 @@ /* Image has a matte channel. Mark it correctly. */ - alpha_type=UnassociatedAlpha; uint16 extra_samples, sample_info[1]; @@ -5151,6 +5150,8 @@ const char * value; + alpha_type=UnassociatedAlpha; + if ((value=AccessDefinition(image_info,"tiff","alpha"))) { if (LocaleCompare(value,"unspecified") == 0)