Alter pixel to use unsigned chars, which are standard across all platforms.