A dog stares through a window from inside.
A dog staring out of an open window.
A dog inside a dark room looking outside of a window
A dog in shadow looks out a window.
a dog looking out of a metal screened window.