diff --git a/imagick/magick_version.go b/imagick/magick_version.go index 30fee02..94f3e4b 100644 --- a/imagick/magick_version.go +++ b/imagick/magick_version.go @@ -5,11 +5,24 @@ package imagick /* +#include #include */ import "C" import "unsafe" +// Returns the ImageMagick delegates as a string constant. +func GetDelegates() string { + cstr := C.GetMagickDelegates() + return C.GoString(cstr) +} + +// Returns the ImageMagick features as a string constant. +func GetFeatures() string { + cstr := C.GetMagickFeatures() + return C.GoString(cstr) +} + // Returns the ImageMagick API copyright as a string constant. func GetCopyright() string { cstr := C.MagickGetCopyright()