SDL digest, Vol 1 #653 - 9 msgs

Message: 5Date: Thu, 23 Jan 2003 13:10:51 -0600
From: Corona688
To: sdl at libsdl.org
Subject: Re: [SDL] Resize image in SDL_Surface
Reply-To: sdl at libsdl.org

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().

thank you!
I’ll try it.

Riccardo wrote:

> Can I resize an image loaded in a SDL_Surface?

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030123/2526f5e1/attachment.pgp