[SDL] Resize image in SDL_Surface

Corona688 tsm at accesscomm.ca
Thu Jan 23 11:12:02 PST 2003


The basic SDL API can't do it;  it just loads, converts, and blits
surfaces.  There *is* an add-on library for SDL that can, however.  :)

http://www.ferzkopp.net/Software/SDL_gfx-2.0/  includes image
stretching, among afew other things.  Just be aware that rotozoom
doesn't stretch the original image - it produces a new, stretched image
in memory that'll have to be freed once you're done with it by
SDL_FreeSurface().

Riccardo wrote:

> Can I resize an image loaded in a SDL_Surface?





More information about the SDL mailing list