Google

/*
 * Load an Imlib2::Image from a file with a hash of the error value and
 * the image.
 *
 * Imlib2::Image::load_with_error_return() provides access to the
 * low-level imlib_load_image_with_error_return() function.  You
 * probably want to use Imlib2::Image::load() instead of this function.
 *
 * Examples:
 *   hash = Imlib2::Image.load_with_error_return 'sample_file.png'
 *   if hash['error'] == 0 # 0 is no error
 *     image = hash['image']
 *   end
 *
 */
static VALUE image_load_with_error_return(VALUE klass, VALUE filename) {