Here's an interesting portrait of Capt Alexander MacPerson for sale.

The style of the jacket is c1815-25. Can anyone offer any info about the sitter.