- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for transparentIndex (0.15 sec)
-
src/image/gif/writer.go
if n > len(p) { // Pad with black. clear(dst[3*len(p) : 3*n]) } return 3 * n, nil } func (e *encoder) colorTablesMatch(localLen, transparentIndex int) bool { localSize := 3 * localLen if transparentIndex >= 0 { trOff := 3 * transparentIndex return bytes.Equal(e.globalColorTable[:trOff], e.localColorTable[:trOff]) && bytes.Equal(e.globalColorTable[trOff+3:localSize], e.localColorTable[trOff+3:localSize])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0)