Lines Matching refs:pixel
537 pixel; in ReadPNMImage() local
539 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); in ReadPNMImage()
542 SetPixelRed(image,pixel,q); in ReadPNMImage()
543 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); in ReadPNMImage()
544 SetPixelGreen(image,pixel,q); in ReadPNMImage()
545 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); in ReadPNMImage()
546 SetPixelBlue(image,pixel,q); in ReadPNMImage()
709 pixel; in ReadPNMImage() local
714 pixel; in ReadPNMImage() local
718 p=PushCharPixel(p,&pixel); in ReadPNMImage()
719 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
727 pixel; in ReadPNMImage() local
731 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
732 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
739 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
740 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
830 pixel; in ReadPNMImage() local
834 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
835 SetPixelRed(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
836 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
837 SetPixelGreen(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
838 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
839 SetPixelBlue(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
848 pixel; in ReadPNMImage() local
852 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
853 SetPixelRed(image,ScaleLongToQuantum(pixel),q); in ReadPNMImage()
854 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
855 SetPixelGreen(image,ScaleLongToQuantum(pixel),q); in ReadPNMImage()
856 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
857 SetPixelBlue(image,ScaleLongToQuantum(pixel),q); in ReadPNMImage()
866 pixel; in ReadPNMImage() local
871 pixel; in ReadPNMImage() local
875 p=PushCharPixel(p,&pixel); in ReadPNMImage()
876 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
877 p=PushCharPixel(p,&pixel); in ReadPNMImage()
878 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
879 p=PushCharPixel(p,&pixel); in ReadPNMImage()
880 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
889 pixel; in ReadPNMImage() local
893 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
894 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
895 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
896 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
897 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
898 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
906 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
907 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
908 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
909 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
910 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
911 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1031 pixel; in ReadPNMImage() local
1036 pixel; in ReadPNMImage() local
1040 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1041 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1046 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1048 SetPixelAlpha(image,ScaleAnyToQuantum(pixel, in ReadPNMImage()
1052 ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1061 pixel; in ReadPNMImage() local
1065 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1066 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1071 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1072 SetPixelAlpha(image,ScaleAnyToQuantum(pixel, in ReadPNMImage()
1081 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1082 SetPixelGray(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1086 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1087 SetPixelAlpha(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1098 pixel; in ReadPNMImage() local
1103 pixel; in ReadPNMImage() local
1107 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1108 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1109 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1110 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1112 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1113 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1115 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1116 SetPixelBlack(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1121 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1122 SetPixelAlpha(image,ScaleAnyToQuantum(pixel, in ReadPNMImage()
1132 pixel; in ReadPNMImage() local
1136 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1137 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1138 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1139 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1141 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1142 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1144 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1145 SetPixelBlack(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1150 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1151 SetPixelAlpha(image,ScaleAnyToQuantum(pixel, in ReadPNMImage()
1159 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1160 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1161 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1162 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1163 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1164 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1165 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1166 SetPixelBlack(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1170 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1171 SetPixelAlpha(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1181 pixel; in ReadPNMImage() local
1186 pixel; in ReadPNMImage() local
1190 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1191 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1192 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1193 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1195 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1196 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1201 p=PushCharPixel(p,&pixel); in ReadPNMImage()
1202 SetPixelAlpha(image,ScaleAnyToQuantum(pixel, in ReadPNMImage()
1212 pixel; in ReadPNMImage() local
1216 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1217 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1218 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1219 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1221 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1222 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1227 p=PushShortPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1228 SetPixelAlpha(image,ScaleAnyToQuantum(pixel, in ReadPNMImage()
1237 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1238 SetPixelRed(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1239 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1240 SetPixelGreen(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1241 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1242 SetPixelBlue(image,ScaleAnyToQuantum(pixel,max_value),q); in ReadPNMImage()
1246 p=PushLongPixel(MSBEndian,p,&pixel); in ReadPNMImage()
1247 SetPixelAlpha(image,ScaleAnyToQuantum(pixel,max_value), in ReadPNMImage()
1535 pixel; in WritePNMImage() local
2004 pixel=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma( in WritePNMImage()
2009 pixel=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePNMImage()
2011 pixel=ScaleQuantumToAny(GetPixelRed(image,p), in WritePNMImage()
2014 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2025 pixel=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image, in WritePNMImage()
2030 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in WritePNMImage()
2032 pixel=ScaleQuantumToAny(GetPixelRed(image,p), in WritePNMImage()
2035 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2044 pixel=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image,p)), in WritePNMImage()
2049 pixel=ScaleQuantumToLong(GetPixelRed(image,p)); in WritePNMImage()
2051 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2053 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2119 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2120 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2121 pixel=ScaleQuantumToAny(GetPixelGreen(image,p),max_value); in WritePNMImage()
2122 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2123 pixel=ScaleQuantumToAny(GetPixelBlue(image,p),max_value); in WritePNMImage()
2124 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2134 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2135 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2136 pixel=ScaleQuantumToAny(GetPixelGreen(image,p),max_value); in WritePNMImage()
2137 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2138 pixel=ScaleQuantumToAny(GetPixelBlue(image,p),max_value); in WritePNMImage()
2139 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2147 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2148 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2149 pixel=ScaleQuantumToAny(GetPixelGreen(image,p),max_value); in WritePNMImage()
2150 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2151 pixel=ScaleQuantumToAny(GetPixelBlue(image,p),max_value); in WritePNMImage()
2152 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2218 pixel=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma( in WritePNMImage()
2220 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2223 pixel=(unsigned char) ScaleQuantumToAny( in WritePNMImage()
2225 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2235 pixel=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma( in WritePNMImage()
2237 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2240 pixel=(unsigned char) ScaleQuantumToAny( in WritePNMImage()
2242 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2250 pixel=ScaleQuantumToAny(ClampToQuantum(GetPixelLuma(image, in WritePNMImage()
2252 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2255 pixel=(unsigned char) ScaleQuantumToAny( in WritePNMImage()
2257 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2270 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2271 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2272 pixel=ScaleQuantumToAny(GetPixelGreen(image,p), in WritePNMImage()
2274 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2275 pixel=ScaleQuantumToAny(GetPixelBlue(image,p), in WritePNMImage()
2277 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2278 pixel=ScaleQuantumToAny(GetPixelBlack(image,p), in WritePNMImage()
2280 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2283 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2285 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2295 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2296 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2297 pixel=ScaleQuantumToAny(GetPixelGreen(image,p), in WritePNMImage()
2299 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2300 pixel=ScaleQuantumToAny(GetPixelBlue(image,p), in WritePNMImage()
2302 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2303 pixel=ScaleQuantumToAny(GetPixelBlack(image,p), in WritePNMImage()
2305 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2308 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2310 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2318 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2319 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2320 pixel=ScaleQuantumToAny(GetPixelGreen(image,p),max_value); in WritePNMImage()
2321 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2322 pixel=ScaleQuantumToAny(GetPixelBlue(image,p),max_value); in WritePNMImage()
2323 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2324 pixel=ScaleQuantumToAny(GetPixelBlack(image,p),max_value); in WritePNMImage()
2325 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2328 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2330 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2342 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2343 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2344 pixel=ScaleQuantumToAny(GetPixelGreen(image,p), in WritePNMImage()
2346 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2347 pixel=ScaleQuantumToAny(GetPixelBlue(image,p), in WritePNMImage()
2349 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2352 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2354 q=PopCharPixel((unsigned char) pixel,q); in WritePNMImage()
2364 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2365 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2366 pixel=ScaleQuantumToAny(GetPixelGreen(image,p), in WritePNMImage()
2368 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2369 pixel=ScaleQuantumToAny(GetPixelBlue(image,p), in WritePNMImage()
2371 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2374 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2376 q=PopShortPixel(MSBEndian,(unsigned short) pixel,q); in WritePNMImage()
2384 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage()
2385 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2386 pixel=ScaleQuantumToAny(GetPixelGreen(image,p),max_value); in WritePNMImage()
2387 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2388 pixel=ScaleQuantumToAny(GetPixelBlue(image,p),max_value); in WritePNMImage()
2389 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()
2392 pixel=ScaleQuantumToAny(GetPixelAlpha(image,p), in WritePNMImage()
2394 q=PopLongPixel(MSBEndian,(unsigned int) pixel,q); in WritePNMImage()