summaryrefslogtreecommitdiff
path: root/graphics/py-imaging/patches/patch-ac
blob: 889515b61da9c32ef43f06c9ad78c174ddf84d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.1 2010/07/19 17:45:03 drochner Exp $

--- PIL/TiffImagePlugin.py.orig	2010-07-19 14:29:50.000000000 +0000
+++ PIL/TiffImagePlugin.py
@@ -131,6 +131,7 @@ OPEN_INFO = {
     # (ByteOrder, PhotoInterpretation, SampleFormat, FillOrder, BitsPerSample,
     #  ExtraSamples) => mode, rawmode
     (II, 0, 1, 1, (1,), ()): ("1", "1;I"),
+    (II, 0, 1, 1, (16,), ()): ("I;16", "I;16"),
     (II, 0, 1, 2, (1,), ()): ("1", "1;IR"),
     (II, 0, 1, 1, (8,), ()): ("L", "L;I"),
     (II, 0, 1, 2, (8,), ()): ("L", "L;IR"),