code: func NewBytes(X *xgbutil.XUtil, bs []byte) (*Image, error) {
  	img, _, err := image.Decode(bytes.NewReader(bs))
  	if err != nil {
  		return nil, err
  	}
  	return NewConvert(X, img), nil
  }
docs: // NewBytes uses the image package's decoder to convert the bytes given to
  // an xgraphics.Imag value.
  // Decoding an image can cause an error.