Example #1
0
File: magick.go Project: mat/magick
// Strip strips the image of its extra meta (exif) data
func (im *MagickImage) Strip() (err error) {
	ok := C.StripImage(im.Image)
	if ok == C.MagickFalse {
		return &MagickError{"error", "", "could not strip image"}
	}
	return
}
Example #2
0
// Strip strips the image of its extra meta (exif) data
func (im *Image) Strip() (err error) {
	if C.StripImage(im.image) == C.MagickFalse {
		return fmt.Errorf("could not strip image")
	}
	return nil
}