It is just for people who can spend a lot of time printing css images. It may not work 100%, but you can choose here.
Solution: impossible (if overlapping images are present in the user interface)
$('#rootdiv').find('div').each(function(){
if( $(this).css("background-image") != "none"){
$(this).css("overflow" ,"hidden").css("position", "relative");
$(this).prepend('<img style="display: block;position: absolute;" src="'+$(this).css("background-image").replace(/"/g,"").replace(/url\(|\)$/ig, "")+'">');
$(this).css("background",'..');
}
});
PS: , div (.. $(this)) ( src img ),