ResizeImage

Blitz3D Forums/Blitz3D Programming/ResizeImage

sting(Posted 2005) [#1]
Hey there. Im working on a game that has variable screen resolution options. Instead of making a copy of every picture (background) in all resolutions, i decided to just use the ResizeImage command. Now it works fine when i dont use it but it takes a realy long time to load when i use this command! is there a way to speed it up or another way to resize w/ out the wait? Thanks


Matty(Posted 2005) [#2]
Any reason why you can't resize the image the first time the program is run, and anytime the user wishes to adjust resolution, then save the image to the harddrive with an appropriate name eg "myimage640x480.bmp" so that upon running the game in that resolution it can load the already resized image from a previous execution of the program.


sting(Posted 2005) [#3]
Thats a good idea. ill try it when i get my settings program running. I have an external exe that runs instead if the main one doesnt see a settings.ini. Sortof a firstrun program. ill just add that in there when its done.


Rck(Posted 2005) [#4]
From the forums (sorry for no credit)