func TestMain(m *testing.M) { vips.Initialize() vips.LeakSet(true) r := m.Run() vips.ThreadShutdown() vips.Shutdown() os.Exit(r) }
func init() { vips.Initialize() }