Creates a picture basing on a specified raster image. The method adds the created picture in a specified file structure.
A smart pointer to the created picture object.