Trusted by 10,000+ marketers

  • Private planning
  • Instant access
  • Publication insights

Find your next useful tool

Popular tools and guides

Technical SEO

Choose image dimensions and formats deliberately

Prepare images for their actual display size and inspect the encoded result. Format, quality, transparency and source dimensions affect the trade-off; converting a file does not guarantee a smaller output. Keep the original available so a lossy conversion is reversible at the asset level.

Illustration of technical tools, gears and chart bars

The short answer

Prepare images for their actual display size and inspect the encoded result. Format, quality, transparency and source dimensions affect the trade-off; converting a file does not guarantee a smaller output. Keep the original available so a lossy conversion is reversible at the asset level.

A worked example

A fictional article uses a small transparent diagram and a large photograph. PNG may preserve the diagram cleanly, while a WebP copy of the photograph can be compared at several quality settings. Re-encoding a compressed source as PNG may increase its size, so the editor compares actual bytes and visual detail rather than relying on a format slogan.

A practical checklist

  1. Record the source dimensions and the intended rendered width. Resize a copy when a very large source adds no useful detail to the page.
  2. Choose a supported output format and quality setting. Preserve transparency when needed, and inspect edges, labels and gradients in the exported file.
  3. Check output dimensions, file size and contextual alt treatment. Use responsive image markup where appropriate, and reserve layout space to reduce unexpected movement.

What to avoid

Avoid promising a universal compression percentage or assuming higher quality creates a smaller file. Browser conversion can remove metadata and change color; review the export before replacing a production asset. Animated input may become a still image in a canvas-based workflow.

A useful follow-up

Is converting JPG to PNG a compression strategy?

Not necessarily. PNG output can be larger; compare the actual result and choose the format for the content's needs.

Sources and further reading

Sources support the referenced facts, not a business endorsement or promised outcome.

Editorial note. Review the stated author, sources and publication scope before applying this guidance. Examples are illustrative, not customer results. No ranking, citation or commercial outcome is guaranteed.

Continue with context

Related reading

A canonical URL checklist for a rebuilt website

Choose the intended public URL for each article and make its canonical metadata consistent with that destination. A canonical identifies the preferred equivalent version; it is not a shortcut for merging unrelated pages. Review URL choices before migration rather than relying on whatever route happens to render first.

Read the guide ↗

Internal links that make an article library easier to use

Link to the next explanation a reader is likely to need, using text that describes the destination. A related-reading list should connect different useful tasks rather than repeat the same question on several pages. Build navigation from the reader's decision path, not an arbitrary link quota.

Read the guide ↗

Noindex and robots.txt are different controls

Use the correct control for the actual goal: managing crawler access is different from excluding a page from search indexing. Google's documentation distinguishes robots.txt from a noindex directive. A development preview should have an explicit indexing policy, not an accidental combination of unrelated rules.

Read the guide ↗