Pixel type args check + tests.