Algorithm used in GUI_X_DrawScaled functions

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Algorithm used in GUI_X_DrawScaled functions

    Hello,

    In my project I need to implement image scaling. I have tested the performance of GUI_BMP_DrawScaled function and It's not performing as fast as I would like.
    I'm thinking about writing my own image scaling functions using GUI_DrawPixel() and for that I want to clear some things up.
    Does the algorithm used in scaling function tries to interpolate pixel color values(also called bilinear image scaling algorithm)? Or replacing every pixel with multiple pixels of the same(nearest-neighbor interpolation algorithm) method is used?

    Thanks,
    Eligijus