check returns an error if the combination of data, image width, image height and image depth is invalid for the given format, otherwise check returns nil.
(data []byte, width, height, depth int)
| 31 | // height and image depth is invalid for the given format, otherwise check |
| 32 | // returns nil. |
| 33 | check(data []byte, width, height, depth int) error |
| 34 | |
| 35 | // size returns the number of bytes required to hold an image of the |
| 36 | // specified dimensions in this format. If the size varies based on the |
no outgoing calls