func gdCreateFromPng(buffer []byte) *gdImage { return img(C.gdImageCreateFromPngPtr(C.int(len(buffer)), unsafe.Pointer(&buffer[0]))) }
func CreateFromPngPtr(imagebuffer []byte) *Image { return img(C.gdImageCreateFromPngPtr(C.int(len(imagebuffer)), Pointer(&imagebuffer[0]))) }