title: Image scaling in C
body: <p>I am designing a jpeg to bmp decoder which scales the image. I have been supplied with the source code for the decoder so my actual work is to design a scaler . I do not know where to begin. I have scouted the internet for the various scaling algorithms but am not sure where to introduce the scaling. So should I do the the scaling  after the image is converted into bmp or should I do this during the decoding at the MCU level. am confused :(</p>
  
  <p>If you guys have some information to help me out, its appreciated. any material to read, source code to analyse etc....</p>
  
  <p>Oh I forgot to mention one more thing, this is a porting project from the pc platform to a fpga, so, not all the library files are available on the target platform.</p>