Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cbTrueColor (0.09 sec)

  1. src/image/png/reader.go

    	cbG4
    	cbG8
    	cbGA8
    	cbTC8
    	cbP1
    	cbP2
    	cbP4
    	cbP8
    	cbTCA8
    	cbG16
    	cbGA16
    	cbTC16
    	cbTCA16
    )
    
    func cbPaletted(cb int) bool {
    	return cbP1 <= cb && cb <= cbP8
    }
    
    func cbTrueColor(cb int) bool {
    	return cb == cbTC8 || cb == cbTC16
    }
    
    // Filter type, as per the PNG spec.
    const (
    	ftNone    = 0
    	ftSub     = 1
    	ftUp      = 2
    	ftAverage = 3
    	ftPaeth   = 4
    	nFilter   = 5
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top