Wednesday, April 25th 2018, 6:07pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Jun 7th 2017

Posts: 1


Wednesday, June 7th 2017, 4:25pm

Algorithm used in GUI_X_DrawScaled functions


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?