golang创建海报,可以用于图片合成,图片水印等功能,详见 https://poster.icloudapp.cn

朱金辉 26389756f7 Update ; 将gmagick更换为 imagick 2 anni fa
config 88ef03c178 init 2 anni fa
controller 26389756f7 Update ; 将gmagick更换为 imagick 2 anni fa
entity 88ef03c178 init 2 anni fa
log 88ef03c178 init 2 anni fa
logger 88ef03c178 init 2 anni fa
middleware 88ef03c178 init 2 anni fa
model 88ef03c178 init 2 anni fa
repository 88ef03c178 init 2 anni fa
router 88ef03c178 init 2 anni fa
service 88ef03c178 init 2 anni fa
util 26389756f7 Update ; 将gmagick更换为 imagick 2 anni fa
README.md 88ef03c178 init 2 anni fa
go.mod 88ef03c178 init 2 anni fa
main.go 26389756f7 Update ; 将gmagick更换为 imagick 2 anni fa

README.md

使用第三方库 GraphicsMagick (https://github.com/gographics/gmagick)

export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig

#安装imagick库 (https://github.com/gographics/imagick) mac os brew install ImageMagick

run 之前执行,将imagick编译 export CGO_CFLAGS_ALLOW="-Xpreprocessor"