Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Image Scaling

Name: Anonymous 2012-08-22 16:07

/prog/, do you have fast and good image scaling algorithm in the form of:
void resample(uint8_t *Dst, int DstW, int DstH, uint8_t *Src, int SrcW, int SrcH);

???

Name: Anonymous 2012-08-23 10:12

>>18
Ok, thanks for the code, now I don't have to provide a sample (I'm >>16). The code is probably better than what I would have supplied anyways...
But: didn't you forget something? if(dw == 0 || dh == 0) return;

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List