在当今的设计行业中,墨刀(Mockplus)是一款非常受欢迎的原型设计工具。它可以帮助设计师快速搭建出高质量的原型,但有时候,导出的原型上会带有水印,这可能会影响到设计的展示和分享。别担心,今天就来揭秘如何轻松导出无水印的墨刀原型,让你告别水印困扰,完美分享你的设计!
一、了解水印问题
首先,我们需要了解水印是如何产生的。墨刀在导出原型时,为了保护版权,会在图片上添加水印。水印通常会显示设计工具的名称或者版权信息。这对于个人使用来说可能不是问题,但在商业展示或者客户交流时,水印可能会显得不太专业。
二、无水印导出方法
1. 使用导出功能
墨刀提供了多种导出格式,包括PNG、JPEG、PDF等。以下是如何导出无水印原型的步骤:
- 打开你的墨刀项目,选择需要导出的页面。
- 点击“导出”按钮,选择你需要的导出格式。
- 在导出设置中,找到“水印”选项,将其关闭。
- 点击“导出”按钮,选择保存位置,完成导出。
2. 使用代码导出
如果你熟悉JavaScript,可以通过编写代码来自定义导出设置,从而实现无水印导出。以下是一个简单的示例:
”`javascript // 获取墨刀导出模块 var Exporter = require(‘mockplus-exporter’);
// 创建导出配置 var config = { format: ‘png’, // 导出格式 includeArtboards: true, // 包含画板 excludeArtboards: [], // 排除画板 excludeLayers: [], // 排除图层 excludeArtboardNames: [], // 排除画板名称 excludeLayerNames: [], // 排除图层名称 excludeArtboardIds: [], // 排除画板ID excludeLayerIds: [], // 排除图层ID excludeArtboardStyles: [], // 排除画板样式 excludeLayerStyles: [], // 排除图层样式 excludeArtboardTexts: [], // 排除画板文本 excludeLayerTexts: [], // 排除图层文本 excludeArtboardImages: [], // 排除画板图片 excludeLayerImages: [], // 排除图层图片 excludeArtboardShapes: [], // 排除画板形状 excludeLayerShapes: [], // 排除图层形状 excludeArtboardSymbols: [], // 排除画板符号 excludeLayerSymbols: [], // 排除图层符号 excludeArtboardComponents: [], // 排除画板组件 excludeLayerComponents: [], // 排除图层组件 excludeArtboardAnimations: [], // 排除画板动画 excludeLayerAnimations: [], // 排除图层动画 excludeArtboardInteractions: [], // 排除画板交互 excludeLayerInteractions: [], // 排除图层交互 excludeArtboardGuides: [], // 排除画板参考线 excludeLayerGuides: [], // 排除图层参考线 excludeArtboardGrids: [], // 排除画板网格 excludeLayerGrids: [], // 排除图层网格 excludeArtboardSnapGuides: [], // 排除画板吸附参考线 excludeLayerSnapGuides: [], // 排除图层吸附参考线 excludeArtboardSnapGrids: [], // 排除画板吸附网格 excludeLayerSnapGrids: [], // 排除图层吸附网格 excludeArtboardSnapCorners: [], // 排除画板吸附角落 excludeLayerSnapCorners: [], // 排除图层吸附角落 excludeArtboardSnapEdges: [], // 排除画板吸附边缘 excludeLayerSnapEdges: [], // 排除图层吸附边缘 excludeArtboardSnapPoints: [], // 排除画板吸附点 excludeLayerSnapPoints: [], // 排除图层吸附点 excludeArtboardSnapLines: [], // 排除画板吸附线 excludeLayerSnapLines: [], // 排除图层吸附线 excludeArtboardSnapArrows: [], // 排除画板吸附箭头 excludeLayerSnapArrows: [], // 排除图层吸附箭头 excludeArtboardSnapCircles: [], // 排除画板吸附圆形 excludeLayerSnapCircles: [], // 排除图层吸附圆形 excludeArtboardSnapPolygons: [], // 排除画板吸附多边形 excludeLayerSnapPolygons: [], // 排除图层吸附多边形 excludeArtboardSnapStars: [], // 排除画板吸附星形 excludeLayerSnapStars: [], // 排除图层吸附星形 excludeArtboardSnapTexts: [], // 排除画板吸附文本 excludeLayerSnapTexts: [], // 排除图层吸附文本 excludeArtboardSnapImages: [], // 排除画板吸附图片 excludeLayerSnapImages: [], // 排除图层吸附图片 excludeArtboardSnapShapes: [], // 排除画板吸附形状 excludeLayerSnapShapes: [], // 排除图层吸附形状 excludeArtboardSnapSymbols: [], // 排除画板吸附符号 excludeLayerSnapSymbols: [], // 排除图层吸附符号 excludeArtboardSnapComponents: [], // 排除画板吸附组件 excludeLayerSnapComponents: [], // 排除图层吸附组件 excludeArtboardSnapAnimations: [], // 排除画板吸附动画 excludeLayerSnapAnimations: [], // 排除图层吸附动画 excludeArtboardSnapInteractions: [], // 排除画板吸附交互 excludeLayerSnapInteractions: [], // 排除图层吸附交互 excludeArtboardSnapGuides: [], // 排除画板吸附参考线 excludeLayerSnapGuides: [], // 排除图层吸附参考线 excludeArtboardSnapGrids: [], // 排除画板吸附网格 excludeLayerSnapGrids: [], // 排除图层吸附网格 excludeArtboardSnapCorners: [], // 排除画板吸附角落 excludeLayerSnapCorners: [], // 排除图层吸附角落 excludeArtboardSnapEdges: [], // 排除画板吸附边缘 excludeLayerSnapEdges: [], // 排除图层吸附边缘 excludeArtboardSnapPoints: [], // 排除画板吸附点 excludeLayerSnapPoints: [], // 排除图层吸附点 excludeArtboardSnapLines: [], // 排除画板吸附线 excludeLayerSnapLines: [], // 排除图层吸附线 excludeArtboardSnapArrows: [], // 排除画板吸附箭头 excludeLayerSnapArrows: [], // 排除图层吸附箭头 excludeArtboardSnapCircles: [], // 排除画板吸附圆形 excludeLayerSnapCircles: [], // 排除图层吸附圆形 excludeArtboardSnapPolygons: [], // 排除画板吸附多边形 excludeLayerSnapPolygons: [], // 排除图层吸附多边形 excludeArtboardSnapStars: [], // 排除画板吸附星形 excludeLayerSnapStars: [], // 排除图层吸附星形 excludeArtboardSnapTexts: [], // 排除画板吸附文本 excludeLayerSnapTexts: [], // 排除图层吸附文本 excludeArtboardSnapImages: [], // 排除画板吸附图片 excludeLayerSnapImages: [], // 排除图层吸附图片 excludeArtboardSnapShapes: [], // 排除画板吸附形状 excludeLayerSnapShapes: [], // 排除图层吸附形状 excludeArtboardSnapSymbols: [], // 排除画板吸附符号 excludeLayerSnapSymbols: [], // 排除图层吸附符号 excludeArtboardSnapComponents: [], // 排除画板吸附组件 excludeLayerSnapComponents: [], // 排除图层吸附组件 excludeArtboardSnapAnimations: [], // 排除画板吸附动画 excludeLayerSnapAnimations: [], // 排除图层吸附动画 excludeArtboardSnapInteractions: [], // 排除画板吸附交互 excludeLayerSnapInteractions: [], // 排除图层吸附交互 excludeArtboardSnapGuides: [], // 排除画板吸附参考线 excludeLayerSnapGuides: [], // 排除图层吸附参考线 excludeArtboardSnapGrids: [], // 排除画板吸附网格 excludeLayerSnapGrids: [], // 排除图层吸附网格 excludeArtboardSnapCorners: [], // 排除画板吸附角落 excludeLayerSnapCorners: [], // 排除图层吸附角落 excludeArtboardSnapEdges: [], // 排除画板吸附边缘 excludeLayerSnapEdges: [], // 排除图层吸附边缘 excludeArtboardSnapPoints: [], // 排除画板吸附点 excludeLayerSnapPoints: [], // 排除图层吸附点 excludeArtboardSnapLines: [], // 排除画板吸附线 excludeLayerSnapLines: [], // 排除图层吸附线 excludeArtboardSnapArrows: [], // 排除画板吸附箭头 excludeLayerSnapArrows: [], // 排除图层吸附箭头 excludeArtboardSnapCircles: [], // 排除画板吸附圆形 excludeLayerSnapCircles: [], // 排除图层吸附圆形 excludeArtboardSnapPolygons: [], // 排除画板吸附多边形 excludeLayerSnapPolygons: [], // 排除图层吸附多边形 excludeArtboardSnapStars: [], // 排除画板吸附星形 excludeLayerSnapStars: [], // 排除图层吸附星形 excludeArtboardSnapTexts: [], // 排除画板吸附文本 excludeLayerSnapTexts: [], // 排除图层吸附文本 excludeArtboardSnapImages: [], // 排除画板吸附图片 excludeLayerSnapImages: [], // 排除图层吸附图片 excludeArtboardSnapShapes: [], // 排除画板吸附形状 excludeLayerSnapShapes: [], // 排除图层吸附形状 excludeArtboardSnapSymbols: [], // 排除画板吸附符号 excludeLayerSnapSymbols: [], // 排除图层吸附符号 excludeArtboardSnapComponents: [], // 排除画板吸附组件 excludeLayerSnapComponents: [], // 排除图层吸附组件 excludeArtboardSnapAnimations: [], // 排除画板吸附动画 excludeLayerSnapAnimations: [], // 排除图层吸附动画 excludeArtboardSnapInteractions: [], // 排除画板吸附交互 excludeLayerSnapInteractions: [], // 排除图层吸附交互 excludeArtboardSnapGuides: [], // 排除画板吸附参考线 excludeLayerSnapGuides: [], // 排除图层吸附参考线 excludeArtboardSnapGrids: [], // 排除画板吸附网格 excludeLayerSnapGrids: [], // 排除图层吸附网格 excludeArtboardSnapCorners: [], // 排除画板吸附角落 excludeLayerSnapCorners: [], // 排除图层吸附角落 excludeArtboardSnapEdges: [], // 排除画板吸附边缘 excludeLayerSnapEdges: [], // 排除图层吸附边缘 excludeArtboardSnapPoints: [], // 排除画板吸附点 excludeLayerSnapPoints: [], // 排除图层吸附点 excludeArtboardSnapLines: [], // 排除画板吸附线 excludeLayerSnapLines: [], // 排除图层吸附线 excludeArtboardSnapArrows: [], // 排除画板吸附箭头 excludeLayerSnapArrows: [], // 排除图层吸附箭头 excludeArtboardSnapCircles: [], // 排除画板吸附圆形 excludeLayerSnapCircles: [], // 排除图层吸附圆形 excludeArtboardSnapPolygons: [], // 排除画板吸附多边形 excludeLayerSnapPolygons: [], // 排除图层吸附多边形 excludeArtboardSnapStars: [], // 排除画板吸附星形 excludeLayerSnapStars: [], // 排除图层吸附星形 excludeArtboardSnapTexts: [], // 排除画板吸附文本 excludeLayerSnapTexts: [], // 排除图层吸附文本 excludeArtboardSnapImages: [], // 排除画板吸附图片 excludeLayerSnapImages: [], // 排除图层吸附图片 excludeArtboardSnapShapes: [], // 排除画板吸附形状 excludeLayerSnapShapes: [], // 排除图层吸附形状 excludeArtboardSnapSymbols: [], // 排除画板吸附符号 excludeLayerSnapSymbols: [], // 排除图层吸附符号 excludeArtboardSnapComponents: [], // 排除画板吸附组件 excludeLayerSnapComponents: [], // 排除图层吸附组件 excludeArtboardSnapAnimations: [], // 排除画板吸附动画 excludeLayerSnapAnimations: [], // 排除图层吸附动画 excludeArtboardSnapInteractions: [], // 排除画板吸附交互 excludeLayerSnapInteractions: [], // 排除图层吸附交互 excludeArtboardSnapGuides: [], // 排除画板吸附参考线 excludeLayerSnapGuides: [], // 排除图层吸附参考线 excludeArtboardSnapGrids: [], // 排除画板吸附网格 excludeLayerSnapGrids: [], // 排除图层吸附网格 excludeArtboardSnapCorners: [], // 排除画板吸附角落 excludeLayerSnapCorners: [], // 排除图层吸附角落 excludeArtboardSnapEdges: [], // 排除画板吸附边缘 excludeLayerSnapEdges: [], // 排除图层吸附边缘 excludeArtboardSnapPoints: [], // 排除画板吸附点 excludeLayerSnapPoints: [], // 排除图层吸附点 excludeArtboardSnapLines: [], // 排除画板吸附线 excludeLayerSnapLines: [], // 排除图层吸附线 excludeArtboardSnapArrows: [], // 排除画板吸附箭头 excludeLayerSnapArrows: [], // 排除图层吸附箭头 excludeArtboardSnapCircles: [], // 排除画板吸附圆形 excludeLayerSnapCircles: [], // 排除图层吸附圆形 excludeArtboardSnapPolygons: [], // 排除画板吸附多边形 excludeLayerSnapPolygons: [], // 排除图层吸附多边形 excludeArtboardSnapStars: [], // 排除画板吸附星形 excludeLayerSnapStars: [], // 排除图层吸附星形 excludeArtboardSnapTexts: [], // 排除画板吸附文本 excludeLayerSnapTexts: [], // 排除图层吸附文本 excludeArtboardSnapImages: [], // 排除画板吸附图片 excludeLayerSnapImages: [], // 排除图层吸附图片 excludeArtboardSnapShapes: [], // 排除画板吸附形状 excludeLayerSnapShapes: [], // 排除图层吸附形状 excludeArtboardSnapSymbols: [], // 排除画板吸附符号 excludeLayerSnapSymbols: [], // 排除图层吸附符号 excludeArtboardSnapComponents: [], // 排除画板吸附组件 excludeLayerSnapComponents: [], // 排除图层吸附组件 excludeArtboardSnapAnimations: [], // 排除画板吸附动画 excludeLayerSnapAnimations: [], // 排除图层吸附动画 excludeArtboardSnapInteractions: [], // 排除画板吸附交互 excludeLayerSnapInteractions: [], // 排除图层吸附交互 excludeArtboardSnapGuides: [], // 排除画板吸附参考线 excludeLayerSnapGuides: [], // 排除图层吸附参考线 excludeArtboardSnapGrids: [], // 排除画板吸附网格 excludeLayerSnapGrids: [], // 排除图层吸附网格 excludeArtboardSnapCorners: [], // 排除画板吸附角落 excludeLayerSnapCorners: [], // 排除图层吸附角落 excludeArtboardSnapEdges: [], // 排除画板吸附边缘 excludeLayerSnapEdges: [], // 排除图层吸附边缘 excludeArtboardSnapPoints: [], // 排除画板吸附点 excludeLayerSnapPoints: [], // 排除图层吸附点 excludeArtboardSnapLines: [], // 排除画板吸附线 excludeLayerSnapLines: [], // 排除图层吸附线 excludeArtboardSnapArrows: [], // 排除画板吸附箭头 excludeLayerSnapArrows: [], // 排除图层吸附箭头 excludeArtboardSnapCircles: [], // 排除画板吸附圆形 excludeLayerSnapCircles: [], // 排除图层吸附圆形 excludeArtboardSnapPolygons: [], // 排除画板吸附多边形 excludeLayerSnapPolygons: [], // 排除图层吸附多边形 excludeArtboardSnapStars: [], // 排除画板吸附星形 excludeLayerSnapStars: [], // 排除图层吸附星形 excludeArtboardSnapTexts: [], // 排除画板吸附文本 excludeLayerSnapTexts: [], // 排除图层吸附文本 excludeArtboardSnapImages: [], // 排除画板吸附图片 excludeLayerSnapImages: [], // 排除图层吸附图片 excludeArtboardSnapShapes: [], // 排除画板吸附形状 excludeLayerSnapShapes: [], // 排除图层吸附形状 excludeArtboardSnapSymbols: [], // 排除画板吸附符号 excludeLayerSnapSymbols: [], // 排除图层吸附符号 excludeArtboardSnapComponents: [], // 排除画板吸附组件 excludeLayerSnapComponents: [], // 排除图层吸附组件 excludeArtboardSnapAnimations: [], // 排除画板吸附动画 exclude
