On Sun, 25 Jun 2006 18:04:59 +0200 Roberto Togni <r_togni at tiscali.it> wrote: > > + if(width>1023 || height >1024) > > Shouldn't those be both 1024 ? No, those should be both 1023. Thanks for catching that. Attila Kinali -- 心をこめて聞け心をこめて話せ