forse questo ti può aiutare: http://www.kirupa.com/developer/acti.../swapdepth.htm