spreads and joins pixels of an image using sfml