Abstract This paper is concerned with the lossy compression of general random variables, specifically rate-distortion theory and quantization variables taking values in measurable spaces such as, e.g. manifolds fractal sets. Manifold structures are prevalent data science, compressed sensing, machine learning, image processing handwritten digit recognition. Fractal sets find application modeling...