Miniaturmaler, Schriftsteller, 1781-1794 in Rom, später in Prag