Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-src_doc_PdfImage.cpp,v 1.3 2016/08/01 13:39:34 adam Exp $
Recognize TIFF images with alpha channel when using the photometric
colour tag.
--- src/doc/PdfImage.cpp.orig 2016-05-15 19:06:35.000000000 +0000
+++ src/doc/PdfImage.cpp
@@ -589,7 +589,7 @@ void PdfImage::LoadFromTiffHandle(void*
break;
case PHOTOMETRIC_RGB:
- if ( bitsPixel != 24 )
+ if ( bitsPixel != 24 && bitsPixel != 32 )
{
TIFFClose(hInTiffHandle);
PODOFO_RAISE_ERROR( ePdfError_UnsupportedImageFormat );