convert picture into cubic painter

Need, help, can somebody teach me how to convert an image into a cubic painting?