ImageComparison now uses ImageRenderer so it can take objects of any type as parameters.