func gdCreate(sx, sy int) *gdImage { img := img(C.gdImageCreateTrueColor(C.int(sx), C.int(sy))) if img == nil { return nil } C.gdImageAlphaBlending(img.img, C.int(cbool(false))) C.gdImageSaveAlpha(img.img, C.int(cbool(true))) return img }
func CreateTrueColor(sx, sy int) *Image { return img(C.gdImageCreateTrueColor(C.int(sx), C.int(sy))) }