MCPcopy
hub / github.com/h2non/bimg / catchVipsError

Function catchVipsError

vips.go:781–786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

779}
780
781func catchVipsError() error {
782 s := C.GoString(C.vips_error_buffer())
783 C.vips_error_clear()
784 C.vips_thread_shutdown()
785 return errors.New(s)
786}
787
788func boolToInt(b bool) int {
789 if b {

Callers 15

vipsRotateFunction · 0.85
vipsAutoRotateFunction · 0.85
vipsTransformICCFunction · 0.85
vipsFlipFunction · 0.85
vipsZoomFunction · 0.85
vipsWatermarkFunction · 0.85
vipsReadFunction · 0.85
vipsFlattenBackgroundFunction · 0.85
vipsPreSaveFunction · 0.85
vipsSaveFunction · 0.85
getImageBufferFunction · 0.85
vipsExtractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected