Hi all…
I need a function to reduce images with a number… for example if i give one surface and the number 0.5 the function reduce the surface to a half…
a function like…
SDL_Surface* reduce(SDL_Surface* x, float y)
someone know where i can read anything…
please help me…
Fede!
try this:
http://www.compuphase.com/graphic/scale2.htm
it was at the top of the list when i searched google for “C++ image scaling algorithm”
ahh the power of the search engine (;----- Original Message -----
From: Federico Berardi
To: sdl at libsdl.org
Sent: Tuesday, November 05, 2002 10:44 AM
Subject: [SDL] Need a function to reduce surfaces
Hi all…
I need a function to reduce images with a number… for example if i give one surface and the number 0.5 the function reduce the surface to a half…
a function like…
SDL_Surface* reduce(SDL_Surface* x, float y)
someone know where i can read anything…
please help me…
Fede!
i’m using SDL_gfx, it has a zoom (and rotozoom) functions that works very
nicely. I haven’t tested for performance though …
=)
jan
ps.:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/On Tuesday 05 November 2002 16:44, Federico Berardi wrote:
Hi all…
I need a function to reduce images with a number… for example if i
give one surface and the number 0.5 the function reduce the surface to a
half… a function like…
SDL_Surface* reduce(SDL_Surface* x, float y)
someone know where i can read anything…
please help me…
Fede!
be nice
try this:
http://www.compuphase.com/graphic/scale2.htm
it was at the top of the list when i searched google for “C++ image scaling algorithm”
ahh the power of the search engine (;----- Original Message -----
From: Federico Berardi
To: sdl at libsdl.org
Sent: Tuesday, November 05, 2002 10:44 AM
Subject: [SDL] Need a function to reduce surfaces
Hi all...
I need a function to reduce images with a number... for example if i give one surface and the number 0.5 the function reduce the surface to a half...
a function like...
SDL_Surface* reduce(SDL_Surface* x, float y)
someone know where i can read anything...
please help me...
Fede!
i think that it is excactly what i looking for…
Thanks!> i’m using SDL_gfx, it has a zoom (and rotozoom) functions that works very
nicely. I haven’t tested for performance though …
=)
jan
ps.:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/
On Tuesday 05 November 2002 16:44, Federico Berardi wrote:
Hi all…
I need a function to reduce images with a number… for example if i
give one surface and the number 0.5 the function reduce the surface to a
half… a function like…
SDL_Surface* reduce(SDL_Surface* x, float y)
someone know where i can read anything…
please help me…
Fede!
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl