ho trovato un tutorial che forse fa al caso tuo:
http://www.graphiczoneonline.it/tuto.../negativo.html