Content deleted Content added
Fred Gandt (talk | contribs) m kindly added {{Original research}} as a top hat rather than adding one for each entirely unreferenced section |
CreativeZK (talk | contribs) m grammar fixes citition error resolved Tags: citing a blog or free web host Reverted Visual edit |
||
Line 11:
== Image file sizes ==
The size of raster image files is positively correlated with the number of pixels in the image and the color depth (bits per pixel).
Images with the same number of pixels and color depth can still have very different compressed file sizes. When applying the same compression method to two images with identical pixel counts and color depth, variations in the graphical complexity of the images may lead to different file sizes after compression. In some formats, less complex images result in smaller compressed file sizes. This can even cause certain lossless formats to produce smaller files than lossy formats. For example, graphically simple images (i.e., those with large continuous regions, such as line art or animation sequences) may be losslessly compressed into GIF or PNG formats, resulting in smaller file sizes than when compressed into a lossy JPEG format.
For example, a 640{{resx}}480 pixel image with 24-bit color would occupy almost a megabyte of space:▼
▲For
:640{{resx}}480{{resx}}24 = 7,372,800 bits = 921,600 bytes = 900 [[KiB]]▼
In contrast, the size of vector images increases only with the addition of more vectors.<ref>{{Cite web |last=zaryab |first=zaryab |title=How to Resize Images Easily Without Losing Quality: A Complete Guide |url=https://medium.com/@sark60362/how-to-resize-images-easily-without-losing-quality-a-complete-guide-247b2a874914 |url-status=live |archive-url=https://medium.com/@sark60362/how-to-resize-images-easily-without-losing-quality-a-complete-guide-247b2a874914 |archive-date=Aug 10, 2025 |access-date=Aug 10, 2025 |website=medium .com}}</ref>
== Image file compression ==
|