The Castle of Dux today
Dux (German name) is now Duchcov in the Czech Republic, near the German border. Casanova was librarian there for 13 years until his death in 1798. This is a portrait of Casanova in the library...
Not really. This is The Bookworm by German painter Carl Spitzweg (1850).
Rear view of the castle and gardens: