Adding GIF, PDF and SVG support (libvips 8.3)

This commit is contained in:
Yoan Blanc 2016-08-23 11:40:01 +02:00
parent 308a36afc6
commit 6b76a33673
No known key found for this signature in database
GPG key ID: 6058CF4574298812
15 changed files with 843 additions and 11 deletions

View file

@ -14,6 +14,12 @@ const (
PNG
// TIFF represents the TIFF image type.
TIFF
// GIF represents the GIF image type.
GIF
// PDF represents the PDF type.
PDF
// SVG represents the SVG image type.
SVG
// MAGICK represents the libmagick compatible genetic image type.
MAGICK
)
@ -24,6 +30,9 @@ var ImageTypes = map[ImageType]string{
PNG: "png",
WEBP: "webp",
TIFF: "tiff",
GIF: "gif",
PDF: "pdf",
SVG: "svg",
MAGICK: "magick",
}