This document presents a novel image encryption-then-compression (ETC) system that efficiently combines both encryption and compression of images, considering both lossless and lossy methods. The proposed scheme operates in the prediction error domain and utilizes arithmetic coding to compress encrypted images with minimal efficiency loss compared to existing methods. Notably, it allows the content owner to control the decoded image quality while handling encryption securely against ciphertext-only attacks.