I think this is the only way to get satisfiable results for any multi-layered images