Socket
Book a DemoInstallSign in
Socket

picgo-plugin-watermark-elec

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

picgo-plugin-watermark-elec

PicGo's watermark plugin for electron

latest
Source
npmnpm
Version
1.2.13
Version published
Maintainers
1
Created
Source

picgo-plugin-watermark-elec

Screenshot

Features

Add watermark to picture from electron apps

Installation

Open PicGo>=2.2.0 and add this plugin picgo-plugin-watermark

Setting

fontFamily

字体文件路径。E.g./Users/fonts/Arial-Unicode-MS.ttf

默认只支持英文水印,中文支持需要自行导入中文字体文件。

text

水印文字。E.g.hello world

textColor

水印文字的颜色,支持rgb和hex格式。E.g.rgb(178,178,178)#b2b2b2

fontSize

字体大小,默认14

image

水印图片路径。E.g./Users/watermark.png,优先级大于文字

position

位置,默认rb

export enum PositionType {
  lt = "left-top",
  ct = "center-top",
  rt = "right-top",
  lm = "left-middle",
  cm = "center-middle",
  rm = "right-middle",
  lb = "left-bottom",
  cb = "center-bottom",
  rb = "right-bottom"
}

minSize

原图最小尺寸,小于这一尺寸不添加水印。E.g.200*200。

高度或宽度任何一个小于限制,都会触发

ChangeLog

ChangeLog

Keywords

npm

FAQs

Package last updated on 29 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts