Image and screenshot generating class for Ebb and PHP