Artifact

An artifact, or compression artifact, is a small distortion in a digital image, video, or audio file caused by a lossy compression algorithm. Artifacts occur when compression algorithms discard some of the original media data to create a lower-detail approximation of the original file. The inclusion of some artifacts into a media file is the cost of significantly reducing a file's size to make it use less bandwidth when downloading or streaming.

Lossy compression algorithms can achieve much greater reductions in file size than lossless algorithms, but they do so by removing data. For example, JPEG compression reduces an image's file size significantly but may introduce several types of artifacts — subtle blockiness, blurred details, and the dulling of bright colors. MPEG video files include similar artifacts, especially in dark areas with lots of movement.

A highly-compressed JPEG (right), showing the loss of fine details and blocky artifacts in regions of high contrast
A highly-compressed JPEG (right), showing the loss of fine details and blocky artifacts in regions of high contrast

You can tune a lossy compression algorithm to balance file size and quality. If you need to compress media further, it is best to restart from the original file and apply a different compression level. Applying a lossy compression algorithm to the same file multiple times will compound artifacts, making them more extreme with each generation.

Once you apply lossy compression, the artifacts introduced are permanent; you cannot un-compress a file to restore the details that were removed. It's best to make a compressed copy of the original file, instead of overwriting it, in case you need access to the more detailed version.
Updated December 17, 2022 by Brian P.
Reviewed by Per C.

quizTest Your Knowledge

Which of the following passwords is the most secure?

A
Audrey0615
0%
B
U3!5r!Wruu6M
0%
C
qwerty654321
0%
D
GoP@ckers!
0%
Correct! Incorrect!     View the Password definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Artifact on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.