From a40f94d419ebb44a0399d8d07f34c04d0a8dd7bc Mon Sep 17 00:00:00 2001 From: Parthiban Balasubramanian Date: Wed, 3 Jul 2013 12:43:54 -0600 Subject: [PATCH] core: Recommended png depth value 24 instead of 32 The depth of a PNG is defined excluding the alpha channel so we really have 3x8 bits here. https://bugzilla.gnome.org/show_bug.cgi?id=705084 --- src/librygel-core/rygel-plugin.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librygel-core/rygel-plugin.vala b/src/librygel-core/rygel-plugin.vala index b97abb5..cee238b 100644 --- a/src/librygel-core/rygel-plugin.vala +++ b/src/librygel-core/rygel-plugin.vala @@ -86,7 +86,7 @@ public class Rygel.Plugin : GUPnP.ResourceFactory { private static const string ICON_PNG_MIME = "image/png"; private static const string ICON_JPG_MIME = "image/jpeg"; - private static const int ICON_PNG_DEPTH = 32; + private static const int ICON_PNG_DEPTH = 24; private static const int ICON_JPG_DEPTH = 24; private static const int ICON_BIG_WIDTH = 120; -- 2.7.4