Last post Jun 09, 2009 04:13 AM by CurtWRC
Jun 08, 2009 09:44 AM|CurtWRC|LINK
I'm trying to create a system where a user can upload an image, and it can show them a preview of this image as if it was printed onto a mug.
So far I've managed to set a blank image of a mug as a bitmap, then using .DrawImage, place another bitmap (ie. the one the user uploads) on top of the mug image. However as the mug is round I need to find a way of warping the mug so that it appears as if
its actually printed onto the mug.
Is this possible and what methods can I take to do this?
Thanks for your help,
Jun 08, 2009 09:50 AM|suwandy|LINK
Is the mug image going to be fixed image? or user can upload different type of mug?
Have you considered to using css instead of coding as it is more light and easy to change.
Jun 09, 2009 04:13 AM|CurtWRC|LINK
The mug is fixed.
Using CSS? You can't warp images etc with CSS can you?
Using it all as one image would be much better I think. It rules out any cross-browser compatilbility issues, and I need to use this image in about 6 different sizes throughout the site.