Disclosed are embodiments of systems, devices, and methods to reduce compression artifacts in multi-layer images. Pixel dilation operations, such as morphological dilations, are performed to identify unlabeled pixels at boundaries between layers, and the colors of those pixels are adjusted to mitigate formation of artifacts during layer compression.