]> granicus.if.org Git - graphviz/commitdiff
alter quality to prefer wbmp:cairo over wbmp:gd
authorellson <devnull@localhost>
Thu, 6 Sep 2007 19:34:37 +0000 (19:34 +0000)
committerellson <devnull@localhost>
Thu, 6 Sep 2007 19:34:37 +0000 (19:34 +0000)
plugin/gd/gvdevice_gd.c

index f822894f44a1a47e60ce7a18e237b8db61049c61..e55889604e40dd6a5e68de3a0cde6000801c931c 100644 (file)
@@ -142,7 +142,7 @@ gvplugin_installed_t gvdevice_gd_types[] = {
 
 #ifdef HAVE_GD_GIF
     {FORMAT_GIF, "gif:cairo", 10, &gd_engine, &device_features_gd},
-    {FORMAT_WBMP, "wbmp:cairo", -1, &gd_engine, &device_features_gd},
+    {FORMAT_WBMP, "wbmp:cairo", 5, &gd_engine, &device_features_gd},
 #endif
 
 #ifdef HAVE_GD_JPEG
@@ -152,16 +152,16 @@ gvplugin_installed_t gvdevice_gd_types[] = {
 #endif
 
 #ifdef HAVE_GD_PNG
-    {FORMAT_PNG, "png:cairo", -1, &gd_engine, &device_features_gd},
+    {FORMAT_PNG, "png:cairo", 5, &gd_engine, &device_features_gd},
 #endif
 
-    {FORMAT_GD, "gd:cairo", -1, &gd_engine, &device_features_gd},
-    {FORMAT_GD2, "gd2:cairo", -1, &gd_engine, &device_features_gd},
+    {FORMAT_GD, "gd:cairo", 5, &gd_engine, &device_features_gd},
+    {FORMAT_GD2, "gd2:cairo", 5, &gd_engine, &device_features_gd},
 
 #if 0
 /* libgd only supports reading of xpm files */
 #ifdef HAVE_GD_XPM
-    {FORMAT_XBM, "xbm:cairo", -1, &gd_engine, &device_features_gd},
+    {FORMAT_XBM, "xbm:cairo", 5, &gd_engine, &device_features_gd},
 #endif
 #endif