Support image or terminal output