Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juanmachuca95/convertidor_webp_go
Uso de imagick en golang.
https://github.com/juanmachuca95/convertidor_webp_go
gographics-imagick golang
Last synced: about 2 months ago
JSON representation
Uso de imagick en golang.
- Host: GitHub
- URL: https://github.com/juanmachuca95/convertidor_webp_go
- Owner: juanmachuca95
- Created: 2021-12-16T12:25:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-29T16:48:33.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T02:03:08.321Z (6 months ago)
- Topics: gographics-imagick, golang
- Language: Go
- Homepage:
- Size: 12.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Nota a errores
EL siguiente error: ERROR_POLICY: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408
## se debe a un problema de seguridad, màs detalles en este link: https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563
La soluciòn fue comentar la linea correspondiente al formato a convertir:
- cd /etc/ImageImagick-6
- sudo nano policy.xml- y comente la linea donde se encuentre:
policy domain="coder" rights="none" pattern="PDF"
## librería para convertir jpg to webp
https://github.com/kolesa-team/go-webp#### Imagick golang - Instalación - Link: https://gopkg.in/gographics/imagick.v2/imagick
go get gopkg.in/gographics/imagick.v2/imagickimport "gopkg.in/gographics/imagick.v2/imagick"