Reading ABOUT that painting is just as disturbing as the painting.
It's possible they based Slogra off of both: They took Rosa's demon and Ernst's phallic spear. But I think they'd have been more familiar with a painting of Saint Anthony than a warped wedding painting.