Hi,
has anyone used the interpolation subpackage for image resampling?
more specifically, i'm trying to write a program in C# which would reduce images using the bicubic interpolation,
with the ambition of obtaining results which are as good as Photoshop's.
I've tried using spline2dresamplebicubic by passing a 2d int array, populated by C# standard Color.FromArgb() (data drawn from a Bitmap object).
Unfortunately, the result is ridiculously off, which only means that the ARGB data is not the right data.. Should I apply the resampling for each base color separately ?
I'd appreciate any feedback on this, thanks.
|