Fastest Resize Image?

BlitzMax Forums/BlitzMax Programming/Fastest Resize Image?

Setscale... the problem is how do I calculate the percentage?

sx#=((100/340)*(340+CanW))/100
sy#=((100/340)*(340+CanH))/100

It seems to be faster though I can't calculate the values right. I don't need to grab and create a new image. I think its fast enough to simply scale it every frame.


Drawimagerect won't do. The original size is 340x340, so I could include bigger covers. But 1. that would bloat the exe and 2. the images wound't look any better as they are scaled up.