示例#1
0
func (this *StripProcessor) Process(img *img4g.Image) error {
	l4g.Debug("process strip")
	var err error
	tran := this.Cat.NewTransaction(Image, "Strip")
	defer func() {
		tran.SetStatus(err)
		tran.Complete()
	}()
	err = img.Strip()
	return err
}
示例#2
0
文件: strip.go 项目: chenbk85/nephele
func (this *StripProcessor) Process(img *img4g.Image) error {
	log.Debug("process strip")
	err := img.Strip()
	return err
}