Lossy vs Lossless Image Compression Explained

Last reviewed:

Overview

Lossy versus lossless compression describes whether an encoding process intentionally discards image information. Lossy methods approximate visual data to reduce storage, while lossless methods represent decoded pixels without intentional loss. Neither approach is automatically correct; each serves different delivery, editing, and preservation goals.

A photograph shared online may tolerate a carefully reviewed lossy copy, while a screenshot, logo, or intermediate editing asset may need lossless pixels. The format's capabilities and the encoder's active policy must be considered separately, because some formats support more than one compression mode.

What lossy compression changes

Lossy image encoding reduces data by approximating detail that the codec considers less important. The result can be compact, but fine texture, repeated patterns, high-contrast edges, and smooth gradients may reveal artifacts. Re-encoding an already lossy file can add further changes.

JPG is a familiar lossy photographic format. WebP and AVIF also support lossy modes, but a format name alone does not reveal the selected output policy. Review the actual file, its source, and its destination rather than treating all lossy encoders as equivalent.

Why quality numbers are not universal

Quality scales are encoder controls rather than standardized percentages of retained information. The same number in different tools or formats can produce different file sizes and visible results.

What lossless compression preserves

Lossless encoding allows the stored image to reproduce its decoded pixel values without a lossy approximation step. PNG uses this approach for normal static images, which benefits screenshots, line art, transparent graphics, and assets that may be processed again.

Lossless storage cannot restore information missing from the source. Converting a compressed JPG into PNG preserves the JPEG's decoded pixels, including any artifacts, but does not reconstruct original camera detail. The output may grow because PNG now stores those pixels exactly. This distinction prevents a larger destination file from being mistaken for a higher-quality original or a successful restoration of discarded image data.

Build a practical image workflow

Keep the strongest available source or a suitable lossless working master, then create delivery copies for known destinations. Use lossy output when compact photographic delivery is acceptable, and lossless output when transparency, sharp graphic edges, or repeat processing matters more.

Compare representative images at their actual dimensions, inspect difficult areas, and test the receiving software. File size, compatibility, visual quality, transparency, and editing plans should be evaluated together rather than reduced to one compression label.

Format capability and current encoder policy

PNG format capability

As a file format, PNG stores raster graphics losslessly and can preserve an alpha transparency channel. Lossless; photographic files can be large. It is best suited to logos, screenshots, diagrams, and graphics with transparent edges. These capabilities describe the format itself, not a promise about a particular encoder.

Current ForgeConvert PNG output policy

Lossless PNG encoding preserves decoded pixel values and alpha. Normal output metadata is stripped.

JPG format capability

As a file format, JPEG uses lossy compression to keep photographic files compact and broadly compatible. Lossy; repeated encoding can add artifacts. It is best suited to photographs, email attachments, and images that must open almost anywhere. These capabilities describe the format itself, not a promise about a particular encoder.

Current ForgeConvert JPG output policy

Encoded at quality 82 with 4:2:0 chroma subsampling. Normal output metadata is stripped.

For Lossy vs Lossless Image Compression Explained, the current workflow does not permanently store uploaded or converted files, accepts up to 20 files of 8 MB each, limits decoded images to 40 megapixels, and allows 15 seconds for processing. These operating limits come from the active converter configuration.

Convert an image

Use the PNG TO JPEG converter

See also

Frequently asked questions

Is lossless compression always higher quality?

It preserves decoded pixels, but a lossless copy cannot restore information already missing from a lossy or low-quality source.

Does lossy compression always look bad?

No. A suitable encoder policy can work well for many photographs, though the actual result still requires visual review.

Can one image format support both modes?

Yes. Formats such as WebP and AVIF have lossy and lossless capabilities, so the encoder's selected mode matters.

Reviewed by ForgeConvert Editorial Team.