How do I do high quality scaling of a image?

后端 未结 11 1022
温柔的废话
温柔的废话 2021-01-30 15:19

I\'m writing some code to scale a 32 bit RGBA image in C/C++. I have written a few attempts that have been somewhat successful, but they\'re slow and most importantly the qualit

11条回答
  •  旧巷少年郎
    2021-01-30 15:24

    A fairly simple and decent algorithm to resample images is Bicubic interpolation, wikipedia alone has all the info you need to get this implemented.

提交回复
热议问题