text attributes are made to be an option for write_to_image function