[SCM] Rasmol packaging branch, master, updated. debian/2.7.4.2-5-46-g613b8f6

Teemu Ikonen tpikonen at gmail.com
Wed Sep 28 15:12:39 UTC 2011


The following commit has been merged in the master branch:
commit 542c9f3330714329dd4fd39ee56a7740250b0649
Author: Teemu Ikonen <tpikonen at gmail.com>
Date:   Tue Sep 27 15:46:35 2011 +0200

    Write TIFFs with LZW compression in GTK version.

diff --git a/src/gtkwin.c b/src/gtkwin.c
index a9fce02..0191bc7 100755
--- a/src/gtkwin.c
+++ b/src/gtkwin.c
@@ -657,7 +657,9 @@ void export_cb(GtkAction * action, gpointer user_data)
                                         export_x, export_y,
                                         sizeof(Pixel) * export_x,
                                         NULL, NULL);
-        success = gdk_pixbuf_save(pbuf, fname, formatname, &err, NULL);
+        // Use TIFF compression 5 = LZW
+        success = gdk_pixbuf_save(pbuf, fname, formatname, &err,
+                                  "compression", "5", NULL);
 
         if (!success && (err != NULL)) {
             question = gtk_message_dialog_new(GTK_WINDOW(exportdialog),

-- 
Rasmol packaging



More information about the debian-science-commits mailing list