Pixel manipulation library