def create_field_volume_image(fieldmodule, image_filenames, name='volume_image'
    ):
    """
    Create an image field using the given fieldmodule.  The image filename must exist and
    be a known image type.

    :param fieldmodule: The fieldmodule to create the field in.
    :param image_filenames: Image filename.
    :param name: Optional name of the image field, defaults to 'volume_image'.
    :return: The image field created.
    """
    image_field = fieldmodule.createFieldImage()
    image_field.setName(name)
    image_field.setFilterMode(image_field.FILTER_MODE_LINEAR)
    stream_information = image_field.createStreaminformationImage()
    for image_filename in image_filenames:
        stream_information.createStreamresourceFile(image_filename)
    image_field.read(stream_information)
    return image_field
