It seems like .gipl images are not suitable for multi component images. While loading the image data the components are presented as three pixels next to each other. Is this file format still supported?
Exception handling is needed to prevent corrupted image saving.