PurposeThe layer section of laser additive manufacturing (AM) can be rasterized. Subsequently, the rasterized layer section can be converted into sparse matrix. However, large storage space is occupied due to the high manufacturing resolution. In order to reduce the storage space, the purpose of this research is to propose a lossless compression method to compress the sparse matrix.Design/methodology/approachA lossless compression method for additive manufacturing is proposed. According to manifold and irregularity feature of the object of laser AM, a lossless compression method called continuous rows compressed storage (CRCS) based on continuous rows is innovatively proposed. In particular, the better direction strategy of compression method is selected based on the side-projected area per layer.FindingsTake human teeth as an example, compared with compressed sparse row (CSR), the CRCS has advantage up to 98.88% in storage space. Compared with block compressed sparse row (BCSR), the CRCS has advantage up to 60.04% in storage space.Originality/valueThe proposed CRCS could be employed to compress the sparse matrixes of rasterized layer sections of laser AM. Compared with common lossless compression method of sparse matrix, the compression ratio of CRCS is greater. CRCS is propitious to reduce the storage space usage, thereby improving transmission efficiency.