problems in RLE uncompression



Hi all,

I guess this is a very common error. I've written my own code to
uncompress the RLE Compressed images. I've read the RLE header and read
all the pixels. But i see the image is slided. how can this be
corrected??
Plz let me know asap.
kind regards,
Rajesh Rapaka.

.