fix incorrect operator precedence in pixel.c
add pixel_convert_direct