先打开PNG导出面板,核对范围:Page只导出页面区域里的内容,Drawing覆盖画布上绘制的全部对象,Selection只覆盖选中对象的区域,Custom按输入坐标确定范围。再查看Image Size中的像素尺寸或分辨率,指定文件名后导出。若背景透明或边缘紧贴图形,分别检查文档属性里的背景色alpha和页面边距;图像尺寸、背景和页面边距要分别在相应位置核对。
操作名称和背景alpha=255的示例以《Inkscape Beginners’ Guide》1.3文档为范围,不保证其他版本界面相同。原作者Elisa de Castro Guerra及Inkscape Documentation Authors;本篇为中文原创改编,必要引文与本文均依CC BY-SA4.0提供:https://creativecommons.org/licenses/by-sa/4.0/。
查看这条结论的依据 →先确认这个答案适合你
具体说明
先问要交付哪一块,而不是先填文件名
如果希望交付整张页面,先检查Page;如果希望包含所有绘制对象,检查Drawing;如果只需要当前选中的一组对象,检查Selection。Custom则按所填坐标确定区域。一个自设的说明例子是:你只想发出选中的图标,却选了整张页面范围,就应先回头核对范围,而不是不断换文件名。
范围选对后,再处理像素大小
教程给出的导出入口是“文件→导出PNG图像”(File ‣ Export PNG Image),快捷键为Shift + Ctrl + E。在Image Size中填写需要的像素尺寸或分辨率,其他数值会随之调整;然后选择文件名,点击Export。导出哪一块与图像有多少像素是不同问题,建议先把两处字段分别看清,再确认输出。
透明背景,要回文档属性检查
教程提醒,导出的PNG可能带透明背景。若目标是白底,先核对选择的背景色,再按教程示例打开“文件→文档属性”(File ‣ Document Properties),快捷键Shift + Ctrl + D,点击Background Color,把背景色的alpha设为255;其他背景色也可在这里选择。这里的255属于所依据的教程界面示例,换版本时先核对对应帮助,不把数字机械填入别的量程字段。
边缘紧贴图形,不一定是内容被切掉
教程说明,导出绘图时没有留边距,可能让人误以为图像被裁切。若希望补边距,可在Document Properties第一标签页的Resize Page to Content折叠区域设置;注意这会改变页面尺寸。建议导出后核对要交付的对象是否齐全,再区分确实少了对象、没有留边距和背景透明,针对对应设置调整,不把三种情况当成同一个故障。 如果需要把调整后的页面留白一起输出,回到导出范围检查Page:它按页面区域输出。Drawing和Selection的范围分别由全部绘制对象、选中对象确定,别把页面变大直接当成这两种范围已经加了边距。
为什么可以相信这个答案
每条影响行动的结论,都能回到具体来源片段和适用边界。
教程的PNG导出区域有Page、Drawing、Selection和Custom四种,分别针对页面内容、画布上全部绘制对象、选中对象区域与输入坐标范围。
适用条件:教程所列导出入口与四种范围,不推广其他版本的菜单名。
Elisa de Castro Guerra/Inkscape Documentation Authors · 直接支持
Open the dialog Export PNG Image with Shift + Ctrl + E, or by going to File ‣ Export PNG Image. Now you will have a couple of different options for the export area: Page: Export only the contents of the page area Drawing: Export all objects that you have drawn on the canvas Selection: Export only the area of the selected objects Custom: Export according to the coordinates that you enter into the fields at the top查看原始来源
在Image Size可设置像素大小或期望分辨率,其余数值随之调整;随后指定文件名并点击Export。
适用条件:导出范围确定后,设置像素或分辨率并指定文件名。
Elisa de Castro Guerra/Inkscape Documentation Authors · 直接支持
Under the heading Image Size, indicate the size of your image in pixels, or the desired resolution. The other values will adapt automatically. Now select a name for the exported file and click on Export.查看原始来源
教程的白色背景示例在文档属性的Background Color中把背景色alpha设为255,也可选择其他背景颜色。
适用条件:教程示例用背景色alpha=255,不把别的版本数值界面视为相同。
Elisa de Castro Guerra/Inkscape Documentation Authors · 直接支持
Beginners are sometimes surprised that their exported image has a transparent background. To change this, open File ‣ Document Properties (Shift + Ctrl + D), then for a white background, set the alpha channel of the background color to 255 after a click on the Background Color field. Other colors can be selected for the export background accordingly.查看原始来源
教程指出导出绘图没有留边距可能造成被裁切的观感;在文档属性的Resize Page to Content中补边距会改变页面尺寸。
适用条件:补边距会改变页面尺寸。
Elisa de Castro Guerra/Inkscape Documentation Authors · 直接支持
Inkscape exports your drawing without a margin. This can lead to the impression that the image is cut off, while it is not. If this bothers you, you can add margins by using the collapsible field Resize Page to Content in the first tab of the Document Properties dialog. Note that this changes the page size.查看原始来源
来源与核验
这篇对你有用吗?
统计与隐私说明
未勾选前不记录任何互动。浏览器的「请勿跟踪」或全球隐私控制优先于这里的选择;取消勾选会撤回并删除本浏览器已记录的互动明细。
阅读、点赞和分享点击都按浏览器去重,说的是「阅读」而不是访客人数;清理浏览器或换设备会重新计一次。
只有正文真正停留在屏幕上时才累计阅读时长;切到别的标签页、或只停在页头页脚都不累计。分享按钮统计的是点击,不代表已经成功发送;分享链接只是本页的正式网址。
版本 1.0
本版本由明确审核决定批准后发布;历史发布不会成为第二份现行答案。
版本 1.0 · 当前公开 · 2026-10-12 09:00