Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rednessAt (0.12 sec)

  1. src/image/gif/writer_test.go

    			return
    		}
    
    		rednessAt := func(x int, y int) uint32 {
    			r, _, _, _ := m.At(x, y).RGBA()
    			// Shift by 8 to convert from 16 bit color to 8 bit color.
    			return r >> 8
    		}
    
    		// Round-tripping a still (non-animated) image.Image through
    		// Encode+Decode should shift the origin to (0, 0).
    		if got, want := rednessAt(0, 0), uint32(0x22); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top