Home
last modified time | relevance | path

Searched refs:dst_img (Results 1 – 1 of 1) sorted by relevance

/PHP-8.3/ext/gd/libgd/
H A Dgd_interpolation.c1116 gdImagePtr dst_img; in gdImageScaleNearestNeighbour() local
1125 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1127 if (dst_img == NULL) { in gdImageScaleNearestNeighbour()
1143 dst_img->tpixels[dst_offset_y][dst_offset_x++] = im->tpixels[m][n]; in gdImageScaleNearestNeighbour()
1154 dst_img->tpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); in gdImageScaleNearestNeighbour()
1159 return dst_img; in gdImageScaleNearestNeighbour()

Completed in 19 milliseconds