ext/image.c
static
VALUE ray_image_write_bmp(VALUE self, VALUE filename) {
  if (!say_image_write_bmp(ray_rb2image(self), StringValuePtr(filename))) {
    rb_raise(rb_eRuntimeError, "%s", say_error_get_last());
  }

  return self;
}
/*
 * @overload write_bmp(filename)
 *   Saves the image as a BMP
 *
 *   Notice BMP output ignores alpha channel. Use PNG or TGA output when
 *   possible.
 */
@overload write_bmp(filename)
Saves the image as a BMP

Notice BMP output ignores alpha channel. Use PNG or TGA output when
possible.
@overload write_bmp ( filename ) Saves the image as a BMP Notice BMP output ignores alpha channel . Use PNG or TGA output when possible .
static
VALUE ray_image_write_bmp(VALUE self, VALUE filename) {
  if (!say_image_write_bmp(ray_rb2image(self), StringValuePtr(filename))) {
    rb_raise(rb_eRuntimeError, "%s", say_error_get_last());
  }
  return self;
}
static VALUE ray_image_write_bmp ( VALUE self , VALUE filename ) { if ( ! say_image_write_bmp ( ray_rb2image ( self ) , StringValuePtr ( filename ) ) ) { rb_raise ( rb_eRuntimeError , " " , say_error_get_last ( ) ) ; } return self ; }
@overload write_bmp(filename)
   Saves the image as a BMP
@overload write_bmp ( filename ) Saves the image as a BMP