svg2img

package module
v0.0.0-...-cd0d9ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

README

svg2img

将SVG转换为PNG、JPEG、WEBP格式图片

命令行界面及选项

svg2img: 将svg转换为png、jpg、webp格式图片

使用: svg2img [-o 输出文件] [-w 宽] [-h 高] [-q 质量] SVG文件

选项:
  -h 高度
        指定输出图片的高度 (default 512)
  -help
        显示当前帮助信息
  -o 文件名
        指定输出图片的文件名 (default "out.png")
  -q 质量
        输出图片的质量 (default 100)
  -w 宽度
        指定输出图片的宽度 (default 512)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Svg2Img

func Svg2Img(src, dst string, width, height int64, quality int) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL