diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-03-19 22:36:16 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-03-19 22:36:16 +0000 |
commit | 0242f4832b79f24c3676bd2fb559366265a1958c (patch) | |
tree | 99fe7b162525c9ed228fa9a1c74565b23a9c1829 /Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc | |
parent | 6f0d44fab481b4d0beba038583f3504aa9147576 (diff) |
poppler 0.53.0
git-svn-id: svn://tug.org/texlive/trunk@43551 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc')
-rw-r--r-- | Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc b/Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc index 316008778b1..142842a0872 100644 --- a/Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc +++ b/Build/source/libs/poppler/poppler-src/goo/TiffWriter.cc @@ -6,7 +6,7 @@ // // Copyright (C) 2010, 2012 William Bader <williambader@hotmail.com> // Copyright (C) 2012 Albert Astals Cid <aacid@kde.org> -// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com> +// Copyright (C) 2012, 2017 Adrian Johnson <ajohnson@redneon.com> // Copyright (C) 2012 Pino Toscano <pino@kde.org> // Copyright (C) 2014 Steven Lee <roc.sky@gmail.com> // @@ -147,6 +147,12 @@ bool TiffWriter::init(FILE *openedFile, int width, int height, int hDPI, int vDP samplesperpixel = 4; photometric = PHOTOMETRIC_SEPARATED; break; + + case RGB48: + samplesperpixel = 3; + bitspersample = 16; + photometric = PHOTOMETRIC_RGB; + break; } // Open the file |