Hello! > imageSize= 32/*because my image depth is 32*/ * image->w * image->h; Shouldn't you use 4 (Bytes) instead of 32 (Bits)? Ciao, Eike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20021004/49c2dd02/attachment.htm>