Exemplo n.º 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
}
Exemplo n.º 2
0
func (this *StripProcessor) Process(img *img4g.Image) error {
	log.Debug("process strip")
	err := img.Strip()
	return err
}