This is an accurate simulation of the PostScript image operator without any interpolation enabled.
Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction.