thumbnail/imagecrush_disabled.go

13 lines
183 B
Go
Raw Normal View History

// +build disableimagecrush
package thumbnail
import (
"errors"
"image"
)
func crushFast(img image.Image) ([]byte, error) {
return nil, errors.New("Pngquant not compiled in")
}