Non-smoothed scaling of images

BlitzMax Forums/BlitzMax Beginners Area/Non-smoothed scaling of images

rockford(Posted 2007) [#1]
I have an animated bitmap image that I want to scale up and down, when required, without smoothing it out as it increases in size (I want it to remain pixellated and pure).

This might sound odd, but the resultant smooth-scaled image just doesn't fit with the style of the game.

Is this possible in BlitzMax?


JazzieB(Posted 2007) [#2]
Have a look at the optional flags when you load an image. By default, I think FILTEREDIMAGE and/or MIPMAPPEDIMAGE are set as default. Using 0 should do what you want it to do.


rockford(Posted 2007) [#3]
Cheers, I'll have a looksee :)

[EDIT] Yep, that did the trick. Thankyou.