Touch Bar Preview is a small open source application to display your designs on the Touch Bar of the new MacBook Pro.
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.