The amount of data in an image file transmitted to a cellular telephone is reduced.
To achieve this, the colors of pixels constituting an image represented by image
data are specified by a color palette table. Color palettes representing colors
that do not appear in the image are deleted from the color palette table. Since
the amount of data in the color palette table contained in the image file is reduced,
so is the amount of image data in the image file.