>>122

/* graphic には画像データへのポインタ、sizeにはサイズを渡す */

void filter(char *graphic,int size) {
while(size-- > 0 ) {
*graphic ^= 0xf0;
graphics++;
}
}