Bug#275960: dia --export= corrupts colors in PNG exports
Roland Stigge
Roland Stigge <stigge@antcom.de>, 275960-quiet@bugs.debian.org
Sun, 27 Feb 2005 16:29:50 +0100
--=-Re683PuznlPqqtnYQ4iF
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi,
there is a (temporary) workaround for this bug: "-t png-libart".
Upstream reported a fix that is already incorporated in current CVS. I
tried to condense it in a patch for the current Debian version
(attached). Could one of you please try and report back?
Thanks!
bye,
Roland
--
--=-Re683PuznlPqqtnYQ4iF
Content-Disposition: attachment; filename=dia.patch
Content-Type: text/x-patch; name=dia.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit
--- dia-0.94.0.orig/plug-ins/pixbuf/pixbuf.c
+++ dia-0.94.0/plug-ins/pixbuf/pixbuf.c
@@ -189,6 +189,9 @@
_("gdk-pixbuf based bitmap export/import"),
NULL, NULL))
return DIA_PLUGIN_INIT_ERROR;
+ else
+ /* still possibly running non-interactive */
+ color_init();
filter_register_export(&export_filter);
filter_register_import(&import_filter);
--=-Re683PuznlPqqtnYQ4iF--