- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for writeIHDR (0.08 sec)
-
src/image/png/writer.go
_, e.err = e.w.Write(e.header[:8]) if e.err != nil { return } _, e.err = e.w.Write(b) if e.err != nil { return } _, e.err = e.w.Write(e.footer[:4]) } func (e *encoder) writeIHDR() { b := e.m.Bounds() binary.BigEndian.PutUint32(e.tmp[0:4], uint32(b.Dx())) binary.BigEndian.PutUint32(e.tmp[4:8], uint32(b.Dy())) // Set bit depth and color type. switch e.cb { case cbG8:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 15.4K bytes - Viewed (0)