This paper presents a portable compression algorithm applied to raster data images properly triangulated by using DDT (Data Dependent Triangulation). In particular the input source data are encoded to be rendered by standard SVG (Scalable Vector Graphics) engine. The proposed compression strategy works reducing the overall entropy implementing some heuristic strategies to properly re-code the redundancy inside the mesh representation. The compressed data are enclosed into an SVG player able to both decompress and show the original image. Results show the effectiveness of the approach. Categories and Subject Descriptors (according to ACM CCS): I.3.3 [Computer Graphics]: Applications