PUTPPMSAMPLE 35 wrppm.c #define PUTPPMSAMPLE(ptr,v) *ptr++ = (char) (v) PUTPPMSAMPLE 40 wrppm.c #define PUTPPMSAMPLE(ptr,v) *ptr++ = (char) ((v) >> (BITS_IN_JSAMPLE-8)) PUTPPMSAMPLE 45 wrppm.c #define PUTPPMSAMPLE(ptr,v) \