2008-08-30 Colin D Bennett Image scaling support. Also, gfxterm's background_image command can scale the image to fit the screen (--mode/-m option). * conf/i386-pc.rmk (bitmap_mod_SOURCES): Added new source files. * include/grub/bitmap_scale.h: New file. * video/bitmap_scale.c: New file. * video/bitmap_scale_bilinear.c: New file. * video/bitmap_scale_nn.c: New file. * term/gfxterm.c (BACKGROUND_CMD_ARGINDEX_MODE): New macro. (background_image_cmd_options): New static variable. (grub_gfxterm_background_image_cmd): Handle --mode/-m option and scale the bitmap to the screen size if requested. Also includes a "drive-by" fix to an erroneous assignment of the bitmap width to 'bitmap_height'. (GRUB_MOD_INIT): Pass background_image_cmd_options to grub_register_command.