摘要 |
A non-transient computer readable medium containing program instructions for causing a computer to perform a method of redrawing an image, the image being usable to decorate a mug having given parameters. The program instructions, according to one embodiment of the method, calculate a first aspect ratio of the mug. The user can then select a selection from the initial image based on the first aspect ratio. Once the selection has been performed, the number of pixels of the selection is adjusted to achieve a high resolution in the transformed image. The program creates a modified image zone. The pixels of the modified image zone are given specific coordinates. A calculation is made to select a corresponding pixel from the selection and places the corresponding pixel in the modified image zone to create the modified image. |