Interactive web image using Python

Robin Becker robin at jessikat.fsnet.co.uk
Tue Sep 25 03:40:07 EDT 2001


In article <3BB01440.5E6EE94 at tpg.com.au>, Michael Palm <msp at tpg.com.au>
writes
>I want to have a web image where you can change the color of parts of
>the image by clicking on it.
>e.g. <click on color selector> <click on the guy's hat to change its
>color>. This is for a clothing
>manufacturer. I am (of course) using Python on the client side.
>
>Any ideas on the best way to do this from Python (PIL, PIDDLE, OpenGL
>etc...). Or should I
>be using a Java applet or Shockwave file instead? The shading program
>will need to know
>about the component shapes so that it can fill each one. Somewhere on
>the web I saw a duck
>whose clothing you could change in this way, but I can't find it again
>or recall what they used.
>I guess I could use their method and just store a library of each
>compoment shaded in all
>possible colors, then overlay the pieces.
>
well although not quite as interactive (it could be made so using an
image map) the stuff we did at

http://www.reportlab.com/cgi-bin/graphics_demo.cgi may be of interest.
-- 
Robin Becker



More information about the Python-list mailing list