Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
func Filter(bs ImageScorer, minScore float64) filter.FilterFunc
Types ¶
type BulkScore ¶
type BulkScore struct {
// contains filtered or unexported fields
}
func NewBulkScore ¶
func NewBulkScore(ctx context.Context, scoreF func() ImageScorer) *BulkScore
type Downsampler ¶
type Downsampler struct {
// contains filtered or unexported fields
}
func NewDownsampler ¶
func NewDownsampler(scorer ImageScorer) *Downsampler
func (*Downsampler) ScoreImage ¶
type GifScorer ¶
type GifScorer struct {
// contains filtered or unexported fields
}
func NewGifScorer ¶
func NewGifScorer() *GifScorer
type GzipScorer ¶
type GzipScorer struct {
// contains filtered or unexported fields
}
GzipScorer actually uses flate instead
func NewGzipScorer ¶
func NewGzipScorer() *GzipScorer
func (*GzipScorer) ScoreImage ¶
type ImageScorer ¶
type JpegScorer ¶
type JpegScorer struct {
// contains filtered or unexported fields
}
func NewJpegScorer ¶
func NewJpegScorer() *JpegScorer
func (*JpegScorer) ScoreImage ¶
Click to show internal directories.
Click to hide internal directories.