thumbnail/imagecrush_disabled.go

13 lines
181 B
Go

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