summaryrefslogtreecommitdiff
path: root/src/page.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-16 10:20:58 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-16 10:20:58 +0200
commit0d9b56ff5bbc3b263bb24d60a5d53e09e2785532 (patch)
treebe9cd87ce9f41713ed2710b9b424861155a43f33 /src/page.vala
parent6c629d45711b613257d30e8d5a1527003d9c3f1f (diff)
parent657d8b8812f16b2c377e5b77ff2ffcc4046a7dce (diff)
Updated version 3.25.1 from 'upstream/3.25.1'
with Debian dir 8914d0848d9107f42ab3763c541ef1480cee0f27
Diffstat (limited to 'src/page.vala')
-rw-r--r--src/page.vala8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/page.vala b/src/page.vala
index 9636d0d..8936187 100644
--- a/src/page.vala
+++ b/src/page.vala
@@ -676,14 +676,6 @@ public class Page
keys[2] = null;
writer.save (image, "png", keys, values);
}
- else if (strcmp (type, "tiff") == 0)
- {
- string[] keys = { "x-dpi", "y-dpi", "compression", "icc-profile", null };
- string[] values = { "%d".printf (dpi), "%d".printf (dpi), "8" /* Deflate compression */, icc_profile_data, null };
- if (icc_profile_data == null)
- keys[3] = null;
- writer.save (image, "tiff", keys, values);
- }
else
throw new FileError.INVAL ("Unknown file type: %s".printf (type));
}