summaryrefslogtreecommitdiff
path: root/graphics/py-imaging/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-imaging/patches/patch-ac')
-rw-r--r--graphics/py-imaging/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/py-imaging/patches/patch-ac b/graphics/py-imaging/patches/patch-ac
new file mode 100644
index 00000000000..889515b61da
--- /dev/null
+++ b/graphics/py-imaging/patches/patch-ac
@@ -0,0 +1,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"),