fixed image manip. There were three chars per pixel instead of the desired one.