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