<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>光栅化 on 技术博客 - 有条工具</title><link>/blog/tags/%E5%85%89%E6%A0%85%E5%8C%96/</link><description>Recent content in 光栅化 on 技术博客 - 有条工具</description><generator>Hugo -- 0.147.7</generator><language>zh-cn</language><copyright>2024-2025 有条工具技术博客</copyright><lastBuildDate>Wed, 18 Nov 2026 08:20:00 +0800</lastBuildDate><atom:link href="/blog/tags/%E5%85%89%E6%A0%85%E5%8C%96/feed.xml" rel="self" type="application/rss+xml"/><item><title>SVG 转 PNG：矢量重栅格化、viewBox 兜底推导与 canvas 的 8192 天花板</title><link>/blog/articles/svg-rasterization/</link><pubDate>Wed, 18 Nov 2026 08:20:00 +0800</pubDate><guid>/blog/articles/svg-rasterization/</guid><description>SVG 转 PNG 的正确姿势不是「截图」而是「重栅格化」：矢量图形没有固定像素，导出多大就按多大重新绘制——曲线在 4x 尺寸下重新计算采样，边缘始终锐利。这篇拆解尺寸推导链（width/height 属性优先、viewBox 兜底、逗号分隔与负 min-x 的宽容解析）、倍率导出的用途、浏览器 canvas 约 8192px 的安全上限，以及为什么位图放大必糊而矢量不会。</description></item></channel></rss>