add imagecompare in AST