All Questions
3 questions with no upvoted or accepted answers
1
vote
0
answers
209
views
pset5: Resize does not consistently work
I am having a problem with resize. I can resize smiley.bmp perfectly at X1, X2, and X10, but not for factors between 2 and 10--I just get an abstract blob of colors. I assume this has something to do ...
0
votes
1
answer
62
views
Resize Adding Too Much Padding
I'm really struggling with resize on pset4. My loop is adding too much padding, I think by a factor of the scale. I'm still working on the horizontal stretch portion of the program. I'm pretty sure ...
0
votes
1
answer
118
views
pset 4, resize.c is not working
Here is the code for resize.c I am stuck for quite some time now and i am not able to figure out where i am wrong. please help.
bi.biHeight = height*n;
bi.biWidth = width*n;
// determine new padding ...