Web application created with Javascript and Flask that combines two images