Back to Knowledge
Knowledge · Images

What is PNG? Transparency, quality, and practical uses

Open Convert image

PNG stands for Portable Network Graphics. It is a raster image format best known for lossless compression and support for transparent backgrounds. You are likely to encounter it in screenshots, logos, interface graphics, diagrams, and downloaded QR codes. Its usefulness comes from preserving the image information you choose to encode, not from making every picture sharper or smaller. Knowing what PNG preserves, and what an export can still change, makes it much easier to choose the right file.

A PNG is a grid of pixels, not an editable drawing

A raster image represents a picture as pixels arranged in rows and columns. A PNG containing a logo may look like a clean drawing, but it does not automatically contain the original shapes, text objects, fonts, or design layers. If you enlarge a small raster logo substantially, the application must invent intermediate pixels. That cannot recover the precise vector paths from which the logo might originally have been exported.

A vector format such as SVG describes supported shapes and other drawing instructions rather than only a fixed pixel grid. This can make it suitable for scalable icons, logos, or a QR code generated as vector artwork. SVG support varies across document and production workflows, so a PNG export is still useful when the destination requires a normal raster image.

Keep both forms when your workflow needs both. A designer might preserve an editable vector master and provide a PNG sized for a presentation. The presentation copy is convenient to insert and share; the master is what you return to for a different size or a design change. Treating those roles separately prevents a small delivery file from becoming the accidental source of all future versions.

What lossless compression means

PNG uses lossless image compression. At a high level, its encoding pipeline can transform rows into more compressible representations and use DEFLATE compression without deliberately throwing away the encoded sample values. A decoder can reconstruct those samples. This differs from the common JPEG workflow, where the compression process approximates image information to reduce the amount of data stored.

The boundary of that promise matters. If an editor first resizes your picture, reduces its colors, or converts its color space, the PNG can faithfully store the changed result. It cannot preserve information that was removed before encoding. Likewise, exporting a previously compressed JPG as PNG does not remove the JPG's artifacts. The output preserves a representation of the pixels the converter received.

For a clean screenshot, this distinction is useful. Saving it directly in PNG avoids adding typical JPEG artifacts around text and sharp interface edges. Saving a blurry screenshot in PNG merely avoids another such step; it does not make the original letters readable. When the source is inadequate, capture a better source instead of relying on a different extension to repair it.

Why PNG is useful for screenshots and diagrams

Screenshots often combine thin lines, small text, icons, and flat color areas. A single fuzzy character can change the meaning of an instruction or a number. PNG is useful because its lossless encoding can retain the clean pixel boundaries of a suitable source. It also avoids making photographic assumptions about which edge details a reader might not notice.

Imagine documenting an invoice screen. The decorative background may not matter, but the decimal places, field labels, and selected status do. Capture at a readable size, crop away unrelated regions, and inspect the saved image. If the article displays the screenshot much smaller, consider using a closer crop or splitting a large screen into meaningful views instead of shrinking every detail beyond recognition.

Diagrams have a similar requirement. The reader should be able to distinguish arrowheads, labels, and line styles. A lossless file is helpful, but layout and dimensions still determine readability. A 300-pixel-wide diagram containing twenty long labels is unlikely to become useful simply because it is PNG. Format selection protects the picture you made; it does not replace clear communication in the picture itself.

Transparency is more than an empty background

An alpha channel records opacity alongside color. A pixel can be fully opaque, fully transparent, or partially transparent. Intermediate opacity allows soft shadows, antialiased edges, and smooth curves to blend with whatever is behind the image. PNG supports these kinds of transparency, making it useful for product cutouts and interface artwork placed on different page backgrounds.

A checkerboard in an editor is usually a visualization of transparency, not content that should appear in the finished picture. If the checkerboard remains visible on every background after export, it may have been baked into the image. Test the PNG against a solid light background and a solid dark background to distinguish real transparency from a picture of a checkerboard.

A PNG can also be completely opaque. The extension alone does not mean that its background has been removed. Converting a photograph with a white wall behind the subject into PNG leaves that wall in the pixels unless a separate editing operation removes it. Minutil's format conversion does not automatically isolate a subject or create a transparent cutout from an ordinary photograph.

Diagnosing halos and rough transparent edges

A transparent image can look clean on white and show a pale outline on dark gray. One possible cause is edge color that was blended against a light background earlier in the workflow. Partial transparency then exposes those already lightened edge pixels on the new background. The problem concerns the edge information in the image, rather than whether PNG can support transparency.

Start by checking the source at a useful zoom level. If the outline is already present, exporting it again will generally carry it forward. Use the original cutout or an appropriate editing tool to correct the edge. Compare against the backgrounds the asset will actually use, including any dark theme. A single white preview is not enough to approve a reusable transparent graphic.

Also distinguish an edge defect from an intentionally soft shadow. Removing every partially transparent pixel can make hair, rounded corners, or product shadows look unnaturally jagged. Judge the result at normal size as well as close up. The goal is a convincing edge in its final setting, not necessarily a perfectly hard boundary when examined far beyond the intended display scale.

Color modes, palettes, and bit depth

PNG can represent grayscale images, full-color images, and indexed images whose pixels refer to a palette. It also supports different sample depths depending on the color type. A palette can be efficient for an image with a limited set of colors, while photographs usually contain far more variation. Full-color PNG can store transparency without reducing every edge to a simple on-or-off mask.

Reducing the number of colors before saving can change the picture even though the subsequent PNG compression is lossless. This explains a confusing phrase sometimes used by image software: a smaller PNG may come from a lossy preprocessing choice such as palette reduction. Always ask what operation made the file smaller. A different compression strategy and a deliberate reduction of image information are not the same process.

For a simple icon, a carefully chosen palette might be acceptable. For a smooth gradient, aggressive color reduction can create visible bands. For a photograph of fabric, it can remove subtle color differences that matter to the subject. A useful export review should include content that exposes these weaknesses, rather than approving a setting using only one flat monochrome symbol.

Why PNG photographs can be large

A photograph can contain complex textures, sensor noise, fine detail, and many slightly different colors. Preserving those differences losslessly can require substantial data. A flat diagram may contain repeated regions that compress more efficiently. Consequently, two PNG files with identical dimensions can have very different sizes even though both are valid and neither is inherently poorly made.

A 2,000 by 2,000 image contains four million pixels. Representing four eight-bit channels per pixel would require about sixteen million bytes before compression and other considerations. This illustrative calculation describes raw sample storage, not a prediction for the PNG on disk. The compressed result depends on the content and the encoder's decisions, while software may also need additional memory during processing.

If a photograph needs to fit a small upload limit, JPG or a supported modern lossy format may be more appropriate. If exact clean edges or transparency are necessary, PNG may justify its size. Start with the features the destination requires, then choose the smallest suitable representation. Making a file small by removing the feature the user needs is not a successful optimization.

PNG versus JPG, WebP, and SVG

JPG is a common choice for photographic delivery when transparency is unnecessary and some approximation is acceptable. PNG is often convenient for screenshots, transparent raster artwork, and graphics whose crisp pixel detail should survive. WebP offers multiple compression modes and transparency, which can make it a useful web delivery alternative when the destination supports the particular output you create.

SVG is a separate kind of choice for graphics that are naturally described as shapes. If a QR generator provides SVG, that can help preserve clean geometry when the print size changes. Converting a small PNG to SVG by merely placing the bitmap inside a vector container does not reconstruct a scalable drawing. What is actually inside the file matters more than its outer extension.

For a shop, you might deliver product photographs in a compact photographic format, a transparent brand badge in PNG, and a generated print QR in SVG. A consistent website does not require all its assets to use the same file format. It requires each asset to look correct, load appropriately, and work in the software that receives it.

Common starting points for image delivery
ContentStarting pointReason
Screenshot with small textPNGLossless raster detail
Transparent cutoutPNG or WebPAlpha transparency
Ordinary photo attachmentJPGPhotographic compression and compatibility
Scalable logo or generated QRSVG, if acceptedVector geometry

Dimensions, print size, and DPI

Pixel dimensions determine the available raster detail. A physical print size determines how widely those pixels are spread on paper. If a 1,200-pixel-wide image is printed four inches wide, the image supplies 300 pixels per inch across that width. At eight inches wide, it supplies 150 pixels per inch. These are calculations, not universal guarantees about print quality or a printer's dot resolution.

Changing only a resolution metadata value does not create additional image detail. A large print from a small source can still look soft even when a dialog displays an impressive DPI number. For a logo or QR code, the width of the smallest important feature matters as well as the overall dimensions. Ask the print provider for the requirements of the specific material and viewing distance.

Use Print size calculator to relate pixels to a target physical size. If you need a larger graphic, return to a vector master or a higher-resolution source where possible. If only a small raster image exists, evaluate a smaller placement. Enlarging it should be a deliberate compromise that you inspect, not an automatic assumption that PNG makes resizing harmless.

Creating and adjusting PNG files in Minutil

Open Convert image, select a supported still image, and choose PNG. If you need smaller dimensions, use Resize image or the supported operations in Image Optimizer. Create the result, download it, and view the saved file against the intended background. Minutil can preserve transparency present in a supported input through an appropriate PNG export, but conversion itself does not remove an existing background.

PNG output in Minutil does not have an adjustable lossy quality setting. If a photograph must become much smaller, decide whether changing dimensions or using JPG, WebP, or AVIF is acceptable. Do not assume a photo-compression slider applies to PNG in the same way. A resized PNG can be smaller because it contains fewer pixels, which is a different operation from preserving the original pixel dimensions.

The image workflow creates a new raster output and removes original metadata. It should not be treated as a specialist pipeline for preserving every high-bit-depth source, color profile, or animated frame. Keep the original when those properties matter. For ordinary screenshots and still graphics, inspect the result's dimensions, transparency, and visible detail before treating it as the approved delivery.

Animation and compatibility details

PNG is commonly encountered as a still-image format, but animated PNG, or APNG, uses additional frame information. The W3C PNG specification includes animation features in its third edition. That capability does not mean that every image editor or converter preserves animation. A program can decode only a still representation or export a static result from animated content.

If your source moves, identify whether motion is essential before using a still-image workflow. A static frame from an animated indicator may be useful as a screenshot, but it is not a replacement for an instructional animation. Minutil's image tools are intended for still-image output. Verify any animation in an application and export workflow that explicitly supports it.

PNG is broadly supported for ordinary still images, but a specific upload form can still reject it because of policy, dimensions, or file size. Read the destination's requirements rather than treating format support as permission to upload any PNG. Test one representative file before preparing dozens of assets with settings that the receiving application will not accept.

A practical way to decide whether PNG is right

For a support article screenshot, begin with a clean capture, crop around the relevant task, and keep text readable at its displayed size. Save PNG and inspect the final placement. For a transparent product cutout, test edges and shadows on both light and dark backgrounds. For a QR code, preserve the clear margin and crisp modules, then test the actual printed copy.

For a large photograph, compare a suitably sized PNG with photographic alternatives accepted by the destination. Check the part of the picture that matters, rather than selecting purely by file size. Keep a source copy and record which export passed review, so a future editor can repeat the decision without guessing what happened to the image.

PNG is most useful when its lossless representation and transparency capabilities solve a real requirement. It does not supply missing detail, remove a background on its own, or guarantee a small file. Used with suitable dimensions and a good source, it is a dependable way to deliver graphics whose exact appearance deserves care.

Put it into practice

Sources & further reading