When You Still Need PNG From SVG Assets
SVG scales perfectly in browsers but PNG is still required for email, OG images, legacy apps, and some CMS fields. When to export raster from vector — and at what sizes.
By Vertex Solutions Editorial
The email signature used SVG — Outlook rendered a broken attachment icon. The press kit demanded 300 DPI PNG. The OG crawler ignored inline SVG entirely. Same logo, three channels, three format requirements.
SVG won the website. PNG still wins everywhere SVG can't go.
Quick answer
The email signature used SVG — Outlook rendered a broken attachment icon. The press kit demanded 300 DPI PNG. The OG crawler ignored inline SVG entirely. Same logo, three channels, three format requirements.
Where SVG works
- Modern browsers
<img src="logo.svg"> - Inline SVG in HTML with CSS theming
- Icon systems in React/Vue components
- Crisp UI on any DPI
PNG Transparency Web Usage — SVG handles transparency differently (alpha in vector).
Where PNG (or JPG) still required
| Context | Why raster | | --- | --- | | Email signatures | SVG blocked/ stripped | | Outlook/Word embed | Security blocks SVG | | Open Graph / Twitter cards | Raster meta images — OG Image Sizing | | Favicon legacy | ICO/PNG — Favicon Sizes | | Some CMS upload fields | MIME whitelist JPG/PNG only | | PowerPoint / Google Slides | Inconsistent SVG support | | App store screenshots | PNG required | | Print vendor | May want PDF/EPS not SVG |
Export size guide
| Use | Export dimensions | | --- | --- | | 16–32px UI icon | 32–64px PNG | | 180px apple-touch | 180 or 360px | | 1200×630 OG | Exact or 2x | | Print logo | Vector PDF/EPS from source — not tiny PNG upscale |
Resize Image after export if batch sizes needed.
Export workflow
- SVG master in Figma/Inkscape — paths simplified, no unnecessary filters
- Export PNG at target pixel dimensions (not "scale 3x" mystery)
- Compress Image — flat logos compress well
- PNG to JPG only if no transparency needed and size critical
Security note on SVG uploads
User-uploaded SVG = XSS vector on some platforms. Sites block SVG uploads; PNG sanitized raster safer for UGC avatars.
When WebP replaces PNG
When to Use WebP Instead of PNG — site delivery; email still PNG/JPG usually.
Batch logos
Batch Image Convert Naming — brand_logo_email_200w.png, brand_logo_og_1200w.png
Don't rasterize too early in pipeline
Keep SVG source in repo. Generate PNG in build step (sharp, rsvg-convert) for reproducible exports.
Troubleshooting
Why convert SVG to PNG if SVG is scalable? Many platforms don't support SVG — email clients, some CMS image fields, PowerPoint, older social crawlers, and certain native apps require raster formats. PNG provides predictable rendering everywhere.
What PNG size should I export from SVG? Export at 2x the display size for retina — e.g., 32px icon → 64px PNG, 1200px OG image → 2400px source scaled down if needed. For infinite scalability needs, export largest intended use once.
Does PNG from SVG lose quality? Rasterization fixes resolution at export size. Scaling PNG up later causes blur — unlike SVG. Export large enough or keep SVG master for re-export.
Limitations
Browser-based workflows for when you still need png from svg assets depend on file size, browser memory, and how the source file was created. Very large files, password-protected inputs, or unusual encodings may fail without a desktop alternative. Always keep an original copy before batch processing.
When not to use this approach
Skip browser-only processing when compliance requires audit logs, when files exceed practical browser limits, or when you need features your browser tool does not expose (bookmarks, form fields, digital signatures). In those cases, use dedicated desktop software or an approved enterprise pipeline.
Related tools
Conclusion
SVG for site UI; PNG exports for email, social, and hostile platforms.
Export at 2x display size from vector master — never upscale tiny PNG. Outlook doesn't care that your logo is mathematically perfect in SVG.
Rasterization DPI math
Display size 128px → export 256px PNG for retina. Display 1200px hero → 2400px PNG max unless print use — file size grows quadratically with dimension.
Inkscape CLI batch
inkscape icon.svg --export-type=png --export-width=512 — scriptable for CI asset pipeline from SVG source repo.
Security scrub SVG
SVG can contain scripts and external entity references — sanitize before rasterizing user-uploaded SVG in server pipeline. Raster PNG from untrusted SVG in sandbox.
Putting this into practice this week
Pick one workflow from this article and run it on a real task today — not a hypothetical. If the guide covers PDF export, export one document you already need for work. If it covers image naming, rename one messy folder. Knowledge retained from doing beats knowledge retained from reading.
Questions to ask before you delegate
When handing a process to a teammate or virtual assistant, ask: "What would break if you skipped step three?" If they can't answer, the process isn't documented enough. Add the missing step to your internal wiki with a link to this guide and the relevant tool page.
How this connects to the broader site
Utility-first sites win when guides and tools reinforce each other. Bookmark the tool URL alongside this article. Share the article link when onboarding someone who'll use the tool weekly — context reduces support messages asking the same formatting question twice.
Common "it worked yesterday" causes
Software updates change export defaults. Browser updates change PDF print behavior. CDN cache serves old image after you uploaded new asset. When workflows break without code changes, check version changelogs before blaming user error. First troubleshooting step: reproduce in clean browser profile with extensions disabled.
When to escalate to a specialist
Tax, legal, medical, and enterprise security topics in adjacent guides sometimes require professional advice. Articles like this explain operational literacy — not professional services. Escalate when stakes exceed convenience (court filing, audit response, M&A data room, HIPAA-covered PHI).
Quick reference checklist
Before you close the tab, confirm the basics from this guide:
- You know which tool or export path applies to your exact file type
- You've tested output on the device or platform your audience uses
- Filename, margins, or metadata won't embarrass you in a professional context
- You've linked related guides for the next step in the workflow
- Sensitive data stayed in the processing tier your policy allows (browser vs cloud)
Print or save this checklist for onboarding teammates — utility workflows fail from skipped verification, not missing features.
Related reading on this site
Browse the blog category cluster this article belongs to for deeper dives. Tool pages linked in-body are the fastest path from reading to doing. If something in the workflow still feels fuzzy, that's a signal to run one real file through the pipeline and note where friction appeared — then re-read the section that matches that step.
Final reminder
Good document and media hygiene compounds. An extra ninety seconds at export time prevents ninety minutes of rework when a client, professor, printer, or auditor sends the file back. The tools exist to make that ninety seconds painless — use them deliberately rather than hoping defaults match your stakes.
Frequently Asked Questions
Common questions answered to help you get the most from this tool.