separateDoc+DocView, stringToImage() and details