From: John Ellson Date: Mon, 9 Jan 2012 17:26:51 +0000 (-0500) Subject: looks much better if I don't zero all config parameters X-Git-Tag: LAST_LIBGRAPH~32^2~577^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=168eefca72c8fcdf778809bbf9c9dcd9aaa13421;p=graphviz looks much better if I don't zero all config parameters --- diff --git a/plugin/webp/gvdevice_webp.c b/plugin/webp/gvdevice_webp.c index 0d09d5882..8e97322f7 100644 --- a/plugin/webp/gvdevice_webp.c +++ b/plugin/webp/gvdevice_webp.c @@ -48,7 +48,7 @@ static void webp_format(GVJ_t * job) picture.writer = writer; picture.custom_ptr = (void*)job; -#if 1 +#if 0 picture.extra_info_type = 0; picture.colorspace = 0; @@ -69,6 +69,7 @@ static void webp_format(GVJ_t * job) config.preprocessing = 0; config.segments = 0; config.partition_limit = 0; +#endif #if 1 preset = WEBP_PRESET_DRAWING; @@ -79,6 +80,7 @@ static void webp_format(GVJ_t * job) } #endif +#if 1 if (!WebPValidateConfig(&config)) { fprintf(stderr, "Error! Invalid configuration.\n"); goto Error;