Touch Bar Preview is a small open-source app which displays your designs on the Touch Bar of the new MacBook Pro. To use it, just drag-and-drop an image file (PNG or JPEG) into the app. The image should be 2170 px wide and 60 px high. Since the Touch Bar is a high-resolution Retina display, this is equivalent to 1085 pt by 30 pt. The app automatically cuts out the System button (Esc) and Control Strip so you don't have to exclude them in your design! If your image is bigger or smaller than the required size, the image is currently stretched to fit into the app region.
Updated on Apr 01 2020