Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (pptrx = 0 ; pptrx <= image_w-1; pptrx = pptrx + 1)
- for (pptry = 0 ; pptry <= image_h-1; pptry = pptry + 1)
- {
- {
- pptr=pptrx+pptry*image_w*bytesperpixel;
- pixcol=((pptrx + pptry)% 2)*255;
- *(image+pptr)=0;
- *(image+pptr+1)=pixcol;
- *(image+pptr+2)=pixcol;
- *(image+pptr+3)=pixcol;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement