Home | History | Annotate | Download | only in coders

Lines Matching refs:ClampToQuantum

531       SetPixelRed(image,ClampToQuantum(pixel.red),q);
532 SetPixelGreen(image,ClampToQuantum(pixel.green),q);
533 SetPixelBlue(image,ClampToQuantum(pixel.blue),q);
535 SetPixelAlpha(image,ClampToQuantum(pixel.alpha),q);
684 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum(
890 green=(unsigned char) ScaleQuantumToAny(ClampToQuantum(
892 *q++=((unsigned char) ScaleQuantumToAny(ClampToQuantum(
895 ClampToQuantum(image->colormap[i].alpha) > midpoint)) ? 0x80 : 0) |
896 ((unsigned char) ScaleQuantumToAny(ClampToQuantum(
901 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue));
902 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].green));
903 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].red));