A partir de tradutores profissionais, empresas, páginas da web e repositórios de traduções disponíveis gratuitamente
with a palette image we try to allocate a new color, if that failed, we choose the closest (in theory) computed color.
imagecopyresized() copies a rectangular portion of one image to another image. dst_im is the destination image, src_im is the source image identifier. if the source and destination coordinates and width and heights differ, appropriate stretching or shrinking of the image fragment will be performed. the coordinates refer to the upper left corner. this function can be used to copy regions within the same image (if dst_im is the same as src_im) but if the regions overlap the results will be unpredictable.