image rescaling using sdl
how can i do image rescaling in sdl.....i m receiving the RGB image of 640*480,i have to change it to 352*288 while displaying in sdl...is there any direct api to change it.
|
Try to implement something like: (Where picture is a linear array of pixels, and putpixel plots pixels).
Code:
int x,y; |
All times are GMT -5. The time now is 04:47 PM. |