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:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-16 10:20:56 +0200
commit657d8b8812f16b2c377e5b77ff2ffcc4046a7dce (patch)
treebbcf268a73f802c7308f7670f6daf62b44a6e834 /src/page.vala
parent6f674ee5c209ae295a32211c9c86807aa06999a5 (diff)
New upstream version 3.25.1upstream/3.25.1
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));
}