An output image is created through a parallactic transformation of an input image. Pixels of the input image are supplied as a color value and a depth value. A depth converter 520 converts the depth value into a depth-dependent pixel shift, which is stored in a memory 510 together with the color value. A processor 530 generates the output image from the stored input image for `on the fly` supply to a stereoscopic display system by shifting the input pixels. A 3D-rendering process may be used to generate one input image for a pair of stereoscopic output images, or occasionally for moving images, whereas the depth-dependent shifts are used to create the parallactic image effects. Artifacts such as undesired holes or overlaps resulting from the shifts are avoided.