Comparison operator for TImage