assertimg_obj.filepath!="",f"{img_obj.filepath} in mesh {mesh_name} Isn't there but should be, as it has no packed image"
assertis_file_in_project(bpy.path.abspath(img_obj.filepath)),f"The image {image_filename} has filepath {img_obj.filepath} which isn't in the project directory {project_directory}"