Better scaling
BlitzMax Forums/BlitzMax Programming/Better scaling
| ||
Hey all, I was wondering if there was a better way to scale images, because the SetScale makes the images blurred. |
| ||
Scaling up or down? Read up on the Flags parameter for Loadimage. That lets you enable/disable per-image filtering, which will probably get you the result you're looking for. |
| ||
Ok, thanks for your help! |
| ||
Yeah, and remember that scaling up is pretty much guaranteed to add at least a little blur. This applies to bitmapped images only, as vector drawings (such as would be used with Cairo and similar libraries) are 're-calculated' as they are scaled up. Because of this, they do tend to be MUCH slower to draw, unless they are converted to bitmaps after the initial conversion (Everytime it is re-sized, however, it has to be converted to a bitmap again). Toodles. Russell |