* image.c (Vmax_image_size): New variable.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 19 Oct 2005 03:54:56 +0000 (03:54 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 19 Oct 2005 03:54:56 +0000 (03:54 +0000)
commitf1f25b99665ac3e5cd4c6cf70be8fdf637f10b52
tree66f91ab3a7adf9a3ed66938d90a3da4674d916d0
parentf42d19a283c2888320519c78093de6a788374634
* image.c (Vmax_image_size): New variable.
(check_image_size): New function.
(xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load)
(gif_load, gs_load): Use it.
(lookup_image): Try loading again if previous load failed.
(xbm_read_bitmap_data): Add a new argument, a pointer to the frame
to display in, NULL if none.
(xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new
argument.
src/ChangeLog
src/image.c