Thursday, June 29th 2017, 9:20am 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.

Eligijus

Beginner

Date of registration: Jun 7th 2017

Posts: 1

1

Wednesday, June 7th 2017, 4:25pm

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