Creative agency glossaryWeb, UX/UI, and Design

Portable Network Graphics (PNG)

A PNG (Portable Network Graphics) is a lossless image format that keeps every pixel exactly as saved and supports transparency, which makes it the standard for logos, interface graphics and anything with a clean edge.

What is a Portable Network Graphics (PNG) file?

PNG is an image file format built for the web in the mid-1990s as a free replacement for GIF, whose compression was patented at the time. It stores images losslessly, which means the file can be opened, saved and opened again without any change to the pixels, unlike JPEG, which throws information away each time it compresses. It supports an alpha channel, so parts of an image can be fully or partly transparent, and it handles millions of colors.

There are two common flavors. PNG-8 stores up to 256 colors in a palette and produces small files for flat graphics such as icons and simple logos. PNG-24 stores full color and, with its alpha channel, is the version used for anything with gradients, soft edges or transparency. The format does not do animation in its standard form, does not store CMYK color and was never intended for print.

Its place in the family is clear. JPEG is for photographs, where small losses are invisible and file size matters. SVG is for vector artwork that must scale without blurring. GIF survives for short animations. WebP and AVIF are the newer formats that do most of what PNG and JPEG do in smaller files. PNG is for the pixel-exact image with a transparent background.

Why it matters

Why a PNG matters

Image format decisions are brand decisions and performance decisions at the same time. A logo saved as a JPEG grows a halo of artifacts around every edge, which is the fastest way to make a brand look cheap on its own website. The same logo as a PNG with transparency sits cleanly on any background, which is why every brand guideline specifies it. Screenshots, charts, interface elements and text rendered as images all need the same exactness.

The cost is size. A PNG of a photograph can be many times larger than the equivalent JPEG, and large images are the most common reason web pages load slowly. Page speed affects search rankings and whether visitors stay, so using PNG where it is not needed is a quiet tax on the whole site. Knowing when to use it and when not to is part of making a website that looks right and loads fast.

In practice

How a PNG works in practice

  1. 01

    Designers export PNGs from their tools for anything that needs transparency or exact pixels: logos, icons, interface graphics, diagrams. PNG-8 is chosen for flat color, PNG-24 for gradients and soft edges. Files are then compressed with tools that reduce size without visible change, which can cut a PNG by half or more. Where the artwork is vector, SVG is used instead, because it scales to any size and is usually smaller.

  2. 02

    On the web the PNG is often the source rather than the thing served. Modern content systems and image services convert uploads to WebP or AVIF for browsers that support them and fall back to the PNG for those that do not, which keeps the quality and loses the weight. Master files stay layered in the design tool, the exported PNG is the deliverable, and every image gets alt text, because the format decides how the picture is stored, not whether anyone can understand it.

  3. 03

    For brand kits the PNG set is standard: the logo in full color and single color, on transparent backgrounds, at several sizes, alongside the SVG and the print formats. Partners who cannot open a vector file can always open a PNG.

  4. 04

    Export settings decide whether a PNG is clean. Graphics for screens are exported at twice their displayed size, so they stay sharp on dense displays, and in sRGB, because a PNG that carries another profile shifts color between browsers. Transparent edges are checked against a dark background as well as a white one, since a logo cut out on white often carries a pale fringe that shows only on black. Metadata is stripped, and the file is named with its variant and size.

Watch out

What people get wrong about PNGs

Saving photographs as PNG, which makes enormous files for no visible gain. Using PNG for print, where the lack of CMYK support leads to color shifts on press. Taking a screenshot of a logo from a website and using it as the logo, complete with the wrong size and a baked-in background. Treating lossless as a reason not to compress, when a PNG optimized properly looks identical and loads twice as fast. And exporting a vector logo as a PNG for a job that needed it to scale, then wondering why it blurs on a billboard.

Questions

People also ask

What is the difference between a PNG and a JPEG?

A PNG is lossless and supports transparency, so it is right for logos, graphics and anything with sharp edges. A JPEG is lossy and much smaller for photographs, where the small losses are invisible. Use PNG for graphics and JPEG for photos, and consider WebP for both on the web.

Should a logo be a PNG or an SVG?

Both, in the brand kit. SVG is the master for the web and for anything that must scale, because it is vector and stays sharp at any size. PNG is the universal fallback for partners, documents and systems that cannot use SVG.

Does PNG support transparency and animation?

Transparency, yes, including partial transparency through its alpha channel, which is the main reason to choose it. Animation, not in the standard format; animated PNG exists but is rarely used, and short animations are usually GIF or video.

Should websites still use PNG?

As a source and a fallback, yes. Most sites now serve WebP or AVIF versions generated from the PNG, because they are smaller at the same quality. The PNG remains the exact master for graphics with transparency, and it still works in every browser ever made.

Next to it in the glossary

  1. PersonaA persona is a fictional but research-based profile of a typical user or customer, used to keep a team's design and messaging decisions focused on real people.
  2. Persona DevelopmentPersona development is the process of turning audience research into a few named, lifelike profiles that a team can design, write and plan for.
  3. Pop-UpsA pop-up is a window or overlay that appears on top of a web page to show an offer, a sign-up form or a notice, usually triggered by time, scrolling or an attempt to leave.
  4. Print DesignPrint design is the design of anything made to be printed, from posters, packaging and books to brochures, signage and stationery.
  5. Product DesignProduct design is the discipline of deciding how a product works, looks and feels, from the problem it solves to the details of its interface, so that it is useful to people and viable for the business.
  6. PrototypingPrototyping is the practice of building early, simplified versions of a design, from paper sketches to clickable mockups, so ideas can be tested and improved before the real thing is built.

Every Web, UX/UI, and Design term →

In the work

Where it shows up

All our creations →

From the journal

Read around it

The journal →

Talking the talk is one thing

We make the work.

RIOT is a creative agency and production studio in New York. Strategy, brand, film, photography, design and the campaigns that carry them, made by one team. A few lines is enough to start: we read every brief the same day.

    Footage