Sync to trunk version.
commitd725448fabf0a6936b918a390c7b539bd1d93523
authorChong Yidong <cyd@stupidchicken.com>
Tue, 7 Aug 2007 16:32:49 +0000 (7 16:32 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 7 Aug 2007 16:32:49 +0000 (7 16:32 +0000)
tree8f3c0e13ddf10252e999d176299dce20e7c87497
parent6facdb9be286bdedf62adcbb03e07829909420d1
Sync to trunk version.
(search_image_cache, uncache_image, image-refresh): New functions.
Check for fg and bg colors.
(lookup_image): Use search_image_cache.  Cache fg and bg colors.
(pbm_load): Another check for invalid image data.
(png_load): Ignore default background field.
src/image.c