Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for PLTE (0.03 sec)

  1. src/image/png/testdata/pngsuite/basn3p01.sng

    #SNG: from basn3p01.png
    IHDR {
        width: 32; height: 32; bitdepth: 1;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        (238,255, 34)     # rgb = (0xee,0xff,0x22)
        ( 34,102,255)     # rgb = (0x22,0x66,0xff)
    }
    IMAGE {
        pixels hex
    0f0f0f0f
    0f0f0f0f
    0f0f0f0f
    0f0f0f0f
    f0f0f0f0
    f0f0f0f0
    f0f0f0f0
    f0f0f0f0
    0f0f0f0f
    0f0f0f0f
    0f0f0f0f
    0f0f0f0f
    f0f0f0f0
    f0f0f0f0
    f0f0f0f0
    f0f0f0f0
    0f0f0f0f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 528 bytes
    - Viewed (0)
  2. src/image/png/testdata/pngsuite/basn3p02.sng

    #SNG: from basn3p02.png
    IHDR {
        width: 32; height: 32; bitdepth: 2;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        (  0,255,  0)     # rgb = (0x00,0xff,0x00)
        (255,  0,  0)     # rgb = (0xff,0x00,0x00)
        (255,255,  0)     # rgb = (0xff,0xff,0x00)
        (  0,  0,255)     # rgb = (0x00,0x00,0xff)
    }
    IMAGE {
        pixels hex
    ff55aa00ff55aa00
    ff55aa00ff55aa00
    ff55aa00ff55aa00
    ff55aa00ff55aa00
    00ff55aa00ff55aa
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 878 bytes
    - Viewed (0)
  3. src/image/png/testdata/pngsuite/basn3p04-31i.sng

    #SNG: from basn3p04-31i.png
    IHDR {
        width: 31; height: 31; bitdepth: 4;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        ( 34,  0,255)     # rgb = (0x22,0x00,0xff)
        (  0,255,255)     # rgb = (0x00,0xff,0xff)
        (136,  0,255)     # rgb = (0x88,0x00,0xff)
        ( 34,255,  0)     # rgb = (0x22,0xff,0x00)
        (  0,153,255)     # rgb = (0x00,0x99,0xff)
        (255,102,  0)     # rgb = (0xff,0x66,0x00)
        (221,  0,255)     # rgb = (0xdd,0x00,0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.8K bytes
    - Viewed (0)
  4. src/image/png/testdata/pngsuite/basn3p04.sng

    #SNG: from basn3p04.png
    IHDR {
        width: 32; height: 32; bitdepth: 4;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        ( 34,  0,255)     # rgb = (0x22,0x00,0xff)
        (  0,255,255)     # rgb = (0x00,0xff,0xff)
        (136,  0,255)     # rgb = (0x88,0x00,0xff)
        ( 34,255,  0)     # rgb = (0x22,0xff,0x00)
        (  0,153,255)     # rgb = (0x00,0x99,0xff)
        (255,102,  0)     # rgb = (0xff,0x66,0x00)
        (221,  0,255)     # rgb = (0xdd,0x00,0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.9K bytes
    - Viewed (0)
  5. src/image/png/reader_test.go

    	if s, ok := fakegAMAs[filename]; ok {
    		io.WriteString(w, s)
    	} else {
    		io.WriteString(w, "gAMA {1.0000}\n")
    	}
    
    	// Write the PLTE and tRNS (if applicable).
    	useTransparent := false
    	if cpm != nil {
    		lastAlpha := -1
    		io.WriteString(w, "PLTE {\n")
    		for i, c := range cpm {
    			var r, g, b, a uint8
    			switch c := c.(type) {
    			case color.RGBA:
    				r, g, b, a = c.R, c.G, c.B, 0xff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  6. src/image/png/reader.go

    		}
    		d.palette = d.palette[:np]
    	case cbTC8, cbTCA8, cbTC16, cbTCA16:
    		// As per the PNG spec, a PLTE chunk is optional (and for practical purposes,
    		// ignorable) for the ctTrueColor and ctTrueColorAlpha color types (section 4.1.2).
    	default:
    		return FormatError("PLTE, color type mismatch")
    	}
    	return d.verifyChecksum()
    }
    
    func (d *decoder) parsetRNS(length uint32) error {
    	switch d.cb {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  7. src/image/png/testdata/pngsuite/ftbwn3p08.sng

    #SNG: from ftbwn3p08.png
    IHDR {
        width: 32; height: 32; bitdepth: 8;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        (255,255,255)     # rgb = (0xff,0xff,0xff) grey100
        (128, 86, 86)     # rgb = (0x80,0x56,0x56)
        (181,181,184)     # rgb = (0xb5,0xb5,0xb8)
        (168, 66, 66)     # rgb = (0xa8,0x42,0x42)
        (159,159,159)     # rgb = (0x9f,0x9f,0x9f)
        (177, 32, 32)     # rgb = (0xb1,0x20,0x20)
    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

    #SNG: from ftbbn3p08.png
    IHDR {
        width: 32; height: 32; bitdepth: 8;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        (255,255,255)     # rgb = (0xff,0xff,0xff) grey100
        (128, 86, 86)     # rgb = (0x80,0x56,0x56)
        (181,181,184)     # rgb = (0xb5,0xb5,0xb8)
        (168, 66, 66)     # rgb = (0xa8,0x42,0x42)
        (159,159,159)     # rgb = (0x9f,0x9f,0x9f)
        (177, 32, 32)     # rgb = (0xb1,0x20,0x20)
    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/basn3p08.sng

    #SNG: from basn3p08.png
    IHDR {
        width: 32; height: 32; bitdepth: 8;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        ( 34, 68,  0)     # rgb = (0x22,0x44,0x00)
        (245,255,237)     # rgb = (0xf5,0xff,0xed)
        (119,255,119)     # rgb = (0x77,0xff,0x77)
        (203,255,255)     # rgb = (0xcb,0xff,0xff)
        ( 17, 10,  0)     # rgb = (0x11,0x0a,0x00)
        ( 58,119,  0)     # rgb = (0x3a,0x77,0x00)
        ( 34, 34,255)     # rgb = (0x22,0x22,0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 13.9K bytes
    - Viewed (0)
  10. src/image/png/testdata/pngsuite/ftp1n3p08.sng

    #SNG: from ftp1n3p08.png
    IHDR {
        width: 32; height: 32; bitdepth: 8;
        using color palette;
    }
    gAMA {1.0000}
    PLTE {
        (255,255,255)     # rgb = (0xff,0xff,0xff) grey100
        (128, 86, 86)     # rgb = (0x80,0x56,0x56)
        (181,181,184)     # rgb = (0xb5,0xb5,0xb8)
        (168, 66, 66)     # rgb = (0xa8,0x42,0x42)
        (159,159,159)     # rgb = (0x9f,0x9f,0x9f)
        (177, 32, 32)     # rgb = (0xb1,0x20,0x20)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 22:27:41 UTC 2016
    - 13.7K bytes
    - Viewed (0)
Back to top