Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FloydSteinberg (0.22 sec)

  1. src/image/draw/draw.go

    	Draw(dst Image, r image.Rectangle, src image.Image, sp image.Point)
    }
    
    // FloydSteinberg is a [Drawer] that is the [Src] [Op] with Floyd-Steinberg error
    // diffusion.
    var FloydSteinberg Drawer = floydSteinberg{}
    
    type floydSteinberg struct{}
    
    func (floydSteinberg) Draw(dst Image, r image.Rectangle, src image.Image, sp image.Point) {
    	clip(dst, &r, src, &sp, nil, nil)
    	if r.Empty() {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/image/gif/writer.go

    	// palette.Plan9 is used in place of a nil Quantizer.
    	Quantizer draw.Quantizer
    
    	// Drawer is used to convert the source image to the desired palette.
    	// draw.FloydSteinberg is used in place of a nil Drawer.
    	Drawer draw.Drawer
    }
    
    // EncodeAll writes the images in g to w in GIF format with the
    // given loop count and delay between frames.
    func EncodeAll(w io.Writer, g *GIF) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Plan9", Var, 2},
    		{"WebSafe", Var, 2},
    	},
    	"image/draw": {
    		{"(Op).Draw", Method, 2},
    		{"Draw", Func, 0},
    		{"DrawMask", Func, 0},
    		{"Drawer", Type, 2},
    		{"FloydSteinberg", Var, 2},
    		{"Image", Type, 0},
    		{"Op", Type, 0},
    		{"Over", Const, 0},
    		{"Quantizer", Type, 2},
    		{"RGBA64Image", Type, 17},
    		{"Src", Const, 0},
    	},
    	"image/gif": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top