As the typical use of JPEG is a
lossy compression
method, which somewhat reduces the image fidelity, it should not be
used in scenarios where the exact reproduction of the data is required
(such as some scientific and medical imaging applications and certain
technical
image processing work).
JPEG is also not well suited to files that will undergo multiple
edits, as some image quality will usually be lost each time the image is
decompressed and recompressed, particularly if the image is cropped or
shifted, or if encoding parameters are changed – see
digital generation loss
for details. To avoid this, an image that is being modified or may be
modified in the future can be saved in a lossless format, with a copy
exported as JPEG for distribution.