Man convicted of killing and cooking dog