How do you blend two arrays of pixel data to create one image? with the option of using different blending modes?