Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for tRNS (1.09 sec)

  1. src/image/png/testdata/pngsuite/basn3p08-trns.sng

    #SNG: from basn3p08-trns.png
    IHDR {
        width: 32; height: 32; bitdepth: 8;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        (255,  3,  7)     # rgb = (0xff,0x03,0x07)
        (255,  4,  7)     # rgb = (0xff,0x04,0x07)
        (255,  9,  7)     # rgb = (0xff,0x09,0x07)
        (217, 14,  7)     # rgb = (0xd9,0x0e,0x07)
        (255, 14,  7)     # rgb = (0xff,0x0e,0x07)
        (  2, 22, 19)     # rgb = (0x02,0x16,0x13)
        (255, 26,  7)     # rgb = (0xff,0x1a,0x07)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 14.6K bytes
    - Viewed (0)
  2. src/image/png/reader_test.go

    			b = append(b, trns...)
    		}
    		b = append(b, idat...)
    		b = append(b, iend...)
    
    		var want color.Color
    		m, err := Decode(bytes.NewReader(b))
    		switch i {
    		case 0:
    			if err != nil {
    				t.Errorf("%d tRNS chunks: %v", i, err)
    				continue
    			}
    			want = color.RGBA{0xff, 0x00, 0x00, 0xff}
    		case 1:
    			if err != nil {
    				t.Errorf("%d tRNS chunks: %v", i, err)
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  3. src/image/png/reader.go

    	case cbTC8, cbTC16:
    		if length != 6 {
    			return FormatError("bad tRNS length")
    		}
    		n, err := io.ReadFull(d.r, d.tmp[:length])
    		if err != nil {
    			return err
    		}
    		d.crc.Write(d.tmp[:n])
    
    		copy(d.transparent[:], d.tmp[:length])
    		d.useTransparent = true
    
    	case cbP1, cbP2, cbP4, cbP8:
    		if length > 256 {
    			return FormatError("bad tRNS length")
    		}
    		n, err := io.ReadFull(d.r, d.tmp[:length])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/image/png/testdata/pngsuite/ftp1n3p08.sng

        ( 45, 45, 84)     # rgb = (0x2d,0x2d,0x54)
        ( 10, 10, 96)     # rgb = (0x0a,0x0a,0x60)
        (  0,  0,255)     # rgb = (0x00,0x00,0xff) blue1
        (191,125,125)     # rgb = (0xbf,0x7d,0x7d)
    }
    tRNS {
     0}
    IMAGE {
        pixels hex
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.7K bytes
    - Viewed (0)
  5. src/image/png/testdata/pngsuite/ftbgn2c16.sng

    #SNG: from ftbgn2c16.png
    IHDR {
        width: 32; height: 32; bitdepth: 16;
        using color;
    }
    gAMA {1.0000}
    bKGD {red: 0;  green: 65535;  blue: 0;}
    tRNS {
        red: 65535; green: 65535; blue: 65535;
    }
    IMAGE {
        pixels hex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.2K bytes
    - Viewed (0)
  6. src/image/png/testdata/pngsuite/ftbbn2c16.sng

    #SNG: from ftbbn2c16.png
    IHDR {
        width: 32; height: 32; bitdepth: 16;
        using color;
    }
    gAMA {1.0000}
    bKGD {red: 0;  green: 0;  blue: 65535;}
    tRNS {
        red: 65535; green: 65535; blue: 65535;
    }
    IMAGE {
        pixels hex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.2K bytes
    - Viewed (0)
  7. src/image/png/testdata/pngsuite/ftbwn3p08.sng

        ( 45, 45, 84)     # rgb = (0x2d,0x2d,0x54)
        ( 10, 10, 96)     # rgb = (0x0a,0x0a,0x60)
        (  0,  0,255)     # rgb = (0x00,0x00,0xff) blue1
        (191,125,125)     # rgb = (0xbf,0x7d,0x7d)
    }
    bKGD {index: 0}
    tRNS {
     0}
    IMAGE {
        pixels hex
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.7K bytes
    - Viewed (0)
  8. src/image/png/testdata/pngsuite/ftbbn3p08.sng

        (  0,  0,255)     # rgb = (0x00,0x00,0xff) blue1
        (191,125,125)     # rgb = (0xbf,0x7d,0x7d)
        (  0,  0,  0)     # rgb = (0x00,0x00,0x00) grey0
    }
    bKGD {index: 245}
    tRNS {
     0}
    IMAGE {
        pixels hex
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.8K bytes
    - Viewed (0)
  9. src/image/png/testdata/pngsuite/ftbgn3p08.sng

        ( 10, 10, 96)     # rgb = (0x0a,0x0a,0x60)
        (  0,  0,255)     # rgb = (0x00,0x00,0xff) blue1
        (191,125,125)     # rgb = (0xbf,0x7d,0x7d)
        (170,170,170)     # rgb = (0xaa,0xaa,0xaa)
    }
    bKGD {index: 245}
    tRNS {
     0}
    IMAGE {
        pixels hex
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.7K bytes
    - Viewed (0)
  10. src/image/png/testdata/pngsuite/ftbyn3p08.sng

        (  0,  0,255)     # rgb = (0x00,0x00,0xff) blue1
        (191,125,125)     # rgb = (0xbf,0x7d,0x7d)
        (255,255,  0)     # rgb = (0xff,0xff,0x00) yellow1
    }
    bKGD {index: 245}
    tRNS {
     0}
    IMAGE {
        pixels hex
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.8K bytes
    - Viewed (0)
Back to top