Mail Archives: djgpp/1997/11/22/05:46:47
On 21 Nov 1997 05:45:22 GMT in comp.os.msdos.djgpp KillFerFun <killferfun AT aol DOT com> wrote:
: Im using graphic files in my programs (BMP, TGA) but when I load
: them, they are much larger than I expected. So I reduce the size of
: the image, but by the time Allegro has displayed the image the way I
: want it, Ive reduced the image so much that all of its clarity has
: been lost. Since Im kinda new to this stuff, Im not sure exactly
: what I should do. Should I change screen modes? Will stretchblit
: work? Any help is appreciated...
Changing up in resolution will mean that more of your picture fits on
the screen. The stretchblit function can indeed be used to reduce the
images' sizes on the fly, but it will reduce their quality too. What
paint program did you make them in? The real answer is to tell the
paint program to make them a certain size in pixels, so that they'll
fit properly on the screen in whatever mode your own program is using.
--
george DOT foot AT merton DOT oxford DOT ac DOT uk
- Raw text -