I have been stuck at resize(less comfortable) for 3 weeks now. I have written the following code and can't tell why its not resizing and instead IDE is showing that the image is unsupported or invalid. Please check for problems... `
[hid code per academic honesty guidelines]
BTW I tried using malloc in full_pixel variable(to store multiple pixels) but it didn't work so i am not using dynamic allocation