Author: akv
Date: 2013-05-09 01:06:48 +0200 (Thu, 09 May 2013)
New Revision: 4398

Modified:
   trunk/src/rs-external-editor.c
Log:
Using PNG for Export to external editor (GIMP).

Modified: trunk/src/rs-external-editor.c
===================================================================
--- trunk/src/rs-external-editor.c      2013-05-08 22:58:31 UTC (rev 4397)
+++ trunk/src/rs-external-editor.c      2013-05-08 23:06:48 UTC (rev 4398)
@@ -85,7 +85,7 @@
                org_name_noext[0] = 0;
 
        filename = g_string_new("");
-        g_string_printf(filename, "%s/%s-rawstudio_%.0f.tif",g_get_tmp_dir(), 
org_name, g_random_double()*10000);
+        g_string_printf(filename, "%s/%s-rawstudio_%.0f.png",g_get_tmp_dir(), 
org_name, g_random_double()*10000);
 
        g_free(org_name);
 
@@ -101,8 +101,10 @@
                        g_list_free(filters);
 
 
-       output = rs_output_new("RSTifffile");
+       output = rs_output_new("RSPngfile");
        g_object_set(output, "filename", filename->str, NULL);
+       g_object_set(output, "save16bit", FALSE, NULL);
+       g_object_set(output, "copy-metadata", TRUE, NULL);
        rs_output_execute(output, fend);
        g_object_unref(output);
        g_object_unref(ftransform_input);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to