SVG and ICO Quirks You Will Hit When Converting Images in a Browser
PNG, JPG, and WebP are all raster formats: a fixed grid of pixels. SVG and ICO are not built the same way, and converting them through a browser-based tool exposes some quirks that do not show up with ordinary photos or screenshots. I fetched this site's own favicon files through PasteDownloadApp's URL tool to see exactly what happens.
SVG: The Browser Has to Decide a Size First
SVG is a vector format, XML instructions describing shapes rather than pixels, so it does not have an inherent pixel size the way a PNG does. When a browser needs to draw an SVG onto a canvas (which is what happens during any SVG-to-PNG or SVG-to-WebP conversion), it has to rasterize it at some resolution, and that resolution comes from the SVG's own width, height, or viewBox attributes.
I fetched this site's favicon.svg, a 72.8 KB vector file, through the URL download tool. Because the file declares width="1200" height="1200" explicitly, the browser read it at exactly 1200×1200 and rasterizing it to PNG produced a 54.2 KB file. That worked cleanly because the source file was explicit about its size. The quirk to watch for: an SVG that omits width, height, and viewBox will often fall back to a browser default rendering size, commonly 300×150, which produces a tiny, low-resolution raster output with no warning that anything went wrong. If a converted SVG comes out blurry or oddly cropped, check whether the source file actually declares a size before assuming the converter is broken.
ICO: One File, Several Images, Only One Comes Out
An ICO file is a container that can bundle several versions of the same icon at different resolutions, commonly 16×16, 32×32, and 48×48, so that Windows and browsers can pick whichever size fits the context (a tab icon versus a taskbar icon, for example). When you load an ICO file into an <img> element or a canvas, the browser exposes exactly one of those frames, not the full set, and which one it picks is not something a script gets to choose.
I fetched this site's favicon.ico, a 14.7 KB file that bundles multiple resolutions, through the same URL tool. Chrome 151 read it as a single 48×48 image and reported it at the full 14.7 KB (the entire container's size, since the browser does not separate out just the one frame it renders). Converting that to PNG produced a 1.7 KB file at 48×48. If you specifically need the 16×16 or 32×32 version out of a multi-resolution ICO, a browser-based converter cannot get it for you: it only ever sees the frame the browser itself chose to decode.
Practical Takeaways
- Converting SVG to PNG or WebP works well when the source file declares an explicit size. Check for
width,height, orviewBoxin the file before assuming a low-resolution result is a tool bug. - Converting ICO gives you whatever single resolution the browser decoded, typically the largest one embedded, not a choice of sizes.
- Going the other direction, PNG or JPG into SVG or ICO, is not something canvas-based conversion can do at all. Canvas only produces raster output. Turning a photo into a true ICO with multiple embedded resolutions needs a dedicated icon generator, not a paste-and-convert tool.
Frequently Asked Questions
Can PasteDownloadApp convert a PNG into an SVG?
No. SVG is vector data, and there is no reliable automatic process for turning arbitrary pixels back into vector shapes. Canvas-based tools, this one included, can only rasterize vector formats into pixels, not the other way around.
Why did my converted SVG come out as a tiny, blank-looking image?
The source SVG almost certainly did not declare a width, height, or viewBox, so the browser rasterized it at a small default size. Check the SVG's XML for those attributes, or open it in an editor that can add them.
Does the same size-selection quirk affect other multi-frame formats?
Animated GIFs have a related issue: canvas conversion captures a single frame, not the animation. If you need to keep an image moving, converting it to PNG, JPEG, or WebP through a canvas-based tool is not the right approach.
Related Guides
Why Re-Saving a PNG Can Make the File Bigger, Not Smaller A browser Canvas re-encode is not the same as a PNG optimizer. Here is the real size difference and why it happens.
How to Save a Screenshot Directly as a File Without Opening MS Paint Turn Print Screen or Snipping Tool captures into PNG or JPG files without opening an editor. Try fetching your own SVG or ICO file at pastedownloadapp.com using the Download from URL tool.