All Questions
3 questions
1
vote
1
answer
104
views
Pset 4 Resize makes a very colorful picture (not green!)--padding problem?
Well, it looks like I'm not the only one having issues with padding (I suspect that's my problem).
Specifically, if I test my version of resize with an enlargement factor of 2 (using small.bmp as ...
0
votes
1
answer
517
views
resize pset 4 confused on number of things
I think I have the headers correct except for the new bf.Size not to sure on that one. I am having real problems with resizing the bitmap and I can't figure out what it is, any hints or pointers in ...
1
vote
1
answer
553
views
fseek in pset4(whodunit)
everyone, this is a segment of the code from pset4(whodunit) copy.c, and I'm wondering why the function fseek is needed. Given that padding cannot be read by fread, why not just simply use fputc to ...