JPEG: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (SirYodaJedi moved page JPEG to JPEG/en)
(Todo)
Line 1: Line 1:
{{lang|JPEG}}
{{language subpage}}
{{todo|Remake [[:File:JPEG_Quality_Comparison.jpg]] to be a more practical showcase of JPEG's quality levels.}}
'''JPEG''' (more commonly seen with the extension .jpg) is an image format which uses [[Wikipedia:Lossy_compression|lossy compression]] to reduce the file size of the image. This results in file sizes that are significantly smaller than uncompressed formats such as [[BMP]] or [[TGA]]. Lossy compression affects image quality, but higher quality JPEGs will have nearly imperceptible artifacts. JPEGs are suitable for photographs and screenshots, but are not preferred for textures or diagrams.
'''JPEG''' (more commonly seen with the extension .jpg) is an image format which uses [[Wikipedia:Lossy_compression|lossy compression]] to reduce the file size of the image. This results in file sizes that are significantly smaller than uncompressed formats such as [[BMP]] or [[TGA]]. Lossy compression affects image quality, but higher quality JPEGs will have nearly imperceptible artifacts. JPEGs are suitable for photographs and screenshots, but are not preferred for textures or diagrams.


{{code|jpeg}} is also a console command in all {{src|4}} games to take a screenshot. Syntax: {{code|jpeg [filename] [quality 1-100]}}.
{{code|jpeg}} is also a console command in all {{src|4}} games to take a screenshot. Syntax: {{code|jpeg [filename] [quality 1-100]}}.
{{main|Screenshot}}
{{main|Screenshot}}
[[Category:Raster file formats]]

Revision as of 03:42, 2 June 2023

English (en)Deutsch (de)Русский (ru)中文 (zh)Translate (Translate)
Todo: Remake File:JPEG_Quality_Comparison.jpg to be a more practical showcase of JPEG's quality levels.

JPEG (more commonly seen with the extension .jpg) is an image format which uses lossy compression to reduce the file size of the image. This results in file sizes that are significantly smaller than uncompressed formats such as BMP or TGA. Lossy compression affects image quality, but higher quality JPEGs will have nearly imperceptible artifacts. JPEGs are suitable for photographs and screenshots, but are not preferred for textures or diagrams.

jpeg is also a console command in all Source Source games to take a screenshot. Syntax: jpeg [filename] [quality 1-100].

Main article:  Screenshot