MCPcopy
hub / github.com/gographics/imagick / WriteImage

Method WriteImage

imagick/magick_wand_image.go:3093–3098  ·  view source on GitHub ↗

Writes an image to the specified filename.

(filename string)

Source from the content-addressed store, hash-verified

3091
3092// Writes an image to the specified filename.
3093func (mw *MagickWand) WriteImage(filename string) error {
3094 csfilename := C.CString(filename)
3095 defer C.free(unsafe.Pointer(csfilename))
3096 C.MagickWriteImage(mw.mw, csfilename)
3097 return mw.GetLastError()
3098}
3099
3100// Writes an image to an open file descriptor.
3101func (mw *MagickWand) WriteImageFile(out *os.File) error {

Callers 15

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
textEffect2Function · 0.95
textEffect3Function · 0.95
textEffect4Function · 0.95
textEffect5And6Function · 0.95
textEffect7Function · 0.95
textEffect8Function · 0.95

Calls 1

GetLastErrorMethod · 0.95

Tested by

no test coverage detected