add vips_image_write_to_memory()