Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for video001 (0.07 sec)

  1. src/image/draw/draw_test.go

    func TestPaletted(t *testing.T) {
    	f, err := os.Open("../testdata/video-001.png")
    	if err != nil {
    		t.Fatalf("open: %v", err)
    	}
    	defer f.Close()
    	video001, err := png.Decode(f)
    	if err != nil {
    		t.Fatalf("decode: %v", err)
    	}
    	b := video001.Bounds()
    
    	cgaPalette := color.Palette{
    		color.RGBA{0x00, 0x00, 0x00, 0xff},
    		color.RGBA{0x55, 0xff, 0xff, 0xff},
    		color.RGBA{0xff, 0x55, 0xff, 0xff},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top