An example of nonaligned double JPEG (NA-DJPG) compression: the uncompressed image is first compressed, with a block grid shown in yellow, obtaining a single compressed image ; this image is again compressed, with a block grid shown in red, misaligned with the previous one, obtaining the final image .