diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-07-07 14:01:06 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-07-07 14:01:06 +0000 |
commit | 8477d0e44f564c24d914106b085c9c4d6555ff03 (patch) | |
tree | 89bb3678c9935bf06758a1db59657f5b1d62da29 /navit/graphics/gd | |
parent | 5463803a571d1086b15ede914ae423823a6420d0 (diff) | |
download | navit-8477d0e44f564c24d914106b085c9c4d6555ff03.tar.gz |
Add:graphics_gd:gif support
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3485 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics/gd')
-rw-r--r-- | navit/graphics/gd/graphics_gd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/graphics/gd/graphics_gd.c b/navit/graphics/gd/graphics_gd.c index 7a6270437..af9eb2ac6 100644 --- a/navit/graphics/gd/graphics_gd.c +++ b/navit/graphics/gd/graphics_gd.c @@ -314,6 +314,9 @@ image_new(struct graphics_priv *gr, struct graphics_image_methods *meth, char *n #endif else if (!strcmp(name+len-4,".xpm")) im=gdImageCreateFromXpm(name); + else if (!strcmp(name+len-4,".gif")) { + im=gdImageCreateFromGif(file); + } fclose(file); } if (im) { |