Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseIHDR (0.15 sec)

  1. src/image/png/reader.go

    type UnsupportedError string
    
    func (e UnsupportedError) Error() string { return "png: unsupported feature: " + string(e) }
    
    func (d *decoder) parseIHDR(length uint32) error {
    	if length != 13 {
    		return FormatError("bad IHDR length")
    	}
    	if _, err := io.ReadFull(d.r, d.tmp[:13]); err != nil {
    		return err
    	}
    	d.crc.Write(d.tmp[:13])
    	if d.tmp[10] != 0 {
    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