Displaying images having pixels thereof that are meant to be transparent
is disclosed. In one embodiment, a method includes a first stage and a second stage.
The first stage is performed once, to transform the image and generate a mask thereof.
The second stage is performed each time the image is to be displayed, to copy the
transformed image and the mask onto the display. In one embodiment, the transparent
image is shrunk and/or stretched when displayed. The cases of animated images and
dithering for alpha blending are also disclosed and covered by the invention.