Searched refs:dst_img (Results 1 – 1 of 1) sorted by relevance
1116 gdImagePtr dst_img; in gdImageScaleNearestNeighbour() local1125 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 16 milliseconds