mirror of
https://github.com/esimov/caire.git
synced 2025-11-03 10:50:53 +08:00
Merge branch 'master' of https://github.com/esimov/caire
This commit is contained in:
@@ -24,6 +24,8 @@ var (
|
||||
errs = make(chan error)
|
||||
)
|
||||
|
||||
var _ SeamCarver = (*Processor)(nil)
|
||||
|
||||
// worker struct contains all the information needed for transferring the resized image to the Gio GUI.
|
||||
type worker struct {
|
||||
img *image.NRGBA
|
||||
@@ -32,8 +34,6 @@ type worker struct {
|
||||
done bool
|
||||
}
|
||||
|
||||
var _ SeamCarver = (*Processor)(nil)
|
||||
|
||||
// shrinkFn is a generic function used to shrink an image.
|
||||
type shrinkFn func(*image.NRGBA) (*image.NRGBA, error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user