When image data has been decomposed into a plurality of components, and a
plurality of components of the components have been encrypted, the
encrypted image file must be able to be used without confusion. On a
component decomposing apparatus, image data is decomposed into a plurality
of components for the hierarchical levels, for example. On an encrypting
apparatus, a plurality of components of the components are encrypted. And,
on an encrypting information preparing means, encrypting information H
concerning the contents of this encryption is prepared, and from the
encrypted components and the non-encrypted components, and the encrypting
information H, an encrypted image file F is generated on an encrypted
image file generating apparatus. When the encrypted image file F is to be
decrypted, the encryption contents of the encrypted components can easily
be grasped by referring to the encrypting information H.