A computer implemented method for producing output images based on a user image and a base image, the method comprising - providing, in a computer system, an image database that comprises a plurality of processed images and a set of rule databases associated with the image database, the set of rule databases comprising a placing rule database and a composition rule database, wherein for each of said processed images a rule entry exists in each of the placing rule database and the composition rule database; - providing the user image to the computer system, with the image database and the set of the rule databases being provided in advance; - selecting, with the computer system, the base image from the image database; - producing, in the computer system, an output image by - the computer system placing the user image or at least a section of the user image into an image slot of the selected base image, said image slot being defined by a placing rule associated with said base image in the placing rule database, wherein the placing rule defines a position of the image slot within said base image, and further defines a probability distribution of placement of the user image or the section of the user image within the image slot, each rule entry for the probability distribution in the placing rule database being implemented on a per pixel basis with at least one rule image having the same dimensions as the associated base image and a specific probability value for each image pixel of the at least one rule image; and - the computer system compositing the user image or the section of the user image with said base image with respect to an overlap relation of pixels of said base image and pixels of the user image, said overlap relation being defined by a composition rule associated with said base image in the composition rule database; - associating, in the computer system, at least one rule out of the placing rule and the composition rule, which are associated with said base image, with the output image; and - producing, in the computer system, a further output image by merging the output image with a further image, which is provided to the computer system, based at least on the rule or rules associated with the output image. - providing, in a computer system, an image database that comprises a plurality of processed images and a set of rule databases associated with the image database, the set of rule databases comprising a placing rule database and a composition rule database, wherein for each of said processed images a rule entry exists in each of the placing rule database and the composition rule database; - providing the user image to the computer system, with the image database and the set of the rule databases being provided in advance; - selecting, with the computer system, the base image from the image database; - producing, in the computer system, an output image by - the computer system placing the user image or at least a section of the user image into an image slot of the selected base image, said image slot being defined by a placing rule associated with said base image in the placing rule database, wherein the placing rule defines a position of the image slot within said base image, and further defines a probability distribution of placement of the user image or the section of the user image within the image slot, each rule entry for the probability distribution in the placing rule database being implemented on a per pixel basis with at least one rule image having the same dimensions as the associated base image and a specific probability value for each image pixel of the at least one rule image; and - the computer system compositing the user image or the section of the user image with said base image with respect to an overlap relation of pixels of said base image and pixels of the user image, said overlap relation being defined by a composition rule associated with said base image in the composition rule database; - the computer system placing the user image or at least a section of the user image into an image slot of the selected base image, said image slot being defined by a placing rule associated with said base image in the placing rule database, wherein the placing rule defines a position of the image slot within said base image, and further defines a probability distribution of placement of the user image or the section of the user image within the image slot, each rule entry for the probability distribution in the placing rule database being implemented on a per pixel basis with at least one rule image having the same dimensions as the associated base image and a specific probability value for each image pixel of the at least one rule image; and - the computer system compositing the user image or the section of the user image with said base image with respect to an overlap relation of pixels of said base image and pixels of the user image, said overlap relation being defined by a composition rule associated with said base image in the composition rule database; - associating, in the computer system, at least one rule out of the placing rule and the composition rule, which are associated with said base image, with the output image; and - producing, in the computer system, a further output image by merging the output image with a further image, which is provided to the computer system, based at least on the rule or rules associated with the output image.