I am making a game for my CS class and the sprites I have found online are too small. How do you ‘stretch’ a bitmap… make them bigger using SDL? (I need to increase there size 50%, there all the same size.) A snippet of example code would be appreciated.
Share
You’re going to get a better looking result using software that is designed for this task. A good option is ImageMagick. It can be used from the command line or programatically.
For example, from the command line you just enter:
If for some strange reason you want to write your own bilinear resize, this guy looks like he knows what he is doing.