MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Strip

Method Strip

vips/vips.go:878–887  ·  view source on GitHub ↗
(keepExifCopyright bool)

Source from the content-addressed store, hash-verified

876}
877
878func (img *Image) Strip(keepExifCopyright bool) error {
879 var tmp *C.VipsImage
880
881 if C.vips_strip(img.VipsImage, &tmp, gbool(keepExifCopyright)) != 0 {
882 return Error()
883 }
884 img.swapAndUnref(tmp)
885
886 return nil
887}
888
889func (img *Image) StripAll() error {
890 var tmp *C.VipsImage

Callers 1

stripMetadataMethod · 0.80

Calls 3

swapAndUnrefMethod · 0.95
gboolFunction · 0.85
ErrorFunction · 0.70

Tested by

no test coverage detected