Disclosed are an image processing apparatus and a method therefor, which
are characterized by the input of image data, the generation of security data to
protect said image data, the control of an encoding mode in accordance with said
security data, and the encoding of said image data using said encoding mode that
is controlled; and a storage medium on which an image processing program is stored.