Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IDAT (0.06 sec)

  1. src/image/png/reader.go

    }
    
    // Read presents one or more IDAT chunks as one continuous stream (minus the
    // intermediate chunk headers and footers). If the PNG data looked like:
    //
    //	... len0 IDAT xxx crc0 len1 IDAT yy crc1 len2 IEND crc2
    //
    // then this reader presents xxxyy. For well-formed PNG data, the decoder state
    // immediately before the first Read call is that d.r is positioned between the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. src/image/png/writer.go

    		e.tmp[3*256+i] = c1.A
    	}
    	e.writeChunk(e.tmp[:3*len(p)], "PLTE")
    	if last != -1 {
    		e.writeChunk(e.tmp[3*256:3*256+1+last], "tRNS")
    	}
    }
    
    // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks,
    // including an 8-byte header and 4-byte CRC checksum per Write call. Such calls
    // should be relatively infrequent, since writeIDATs uses a [bufio.Writer].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top