so what i am trying to do is to make fseek return to a new line as long as its smaller than factor i need to resize with. so fseek retruns to a start of line as long as its need to print those vertical resized pixels. sadly i get polarized image(one half black, other green) and thats it. or_ is original value.
am not sure how exactly am i failing at this so much can anyone point me in a right direction? thanks