Linear interpolation in scale_rgbx_image()