image -> size and updated docstrings