%ffp Category :"Harry's Filters" Title :"Interpolation" Author :"Harald Heim" Organization:"The Plugin Site" URL:"http://thepluginsite.com" Filename :"Interpolation.8bf" Copyright :"Copyright 2002 by Harald Heim" Description:"Demonstration of Interpolation Methods\n" Version :"1.0" About :"!T !V\n!D\n" "!c\n!U" ctl(0): "Resize",Range=(0,800),Val=100, size=(*,6),pos=(225,27),fontcolor=black ctl(10): combobox(vscroll),action=preview, color=#FFFFFF,fontcolor=#0000ff, pos=(225,40),size=(70,200), text="Nearest Neighbor\nBilinear\nBicosine\nBisquare\nBisquare2",val=0 ctl(100):STATICTEXT, pos=(225,70),"", fontcolor=black ForEveryTile: { float p1,q1,fracx,fracy,CalcD,dx,dy,fx,fy; int Xnew,Ynew,p,q,Calc; int m,n; const float PI = 3.1415927; const int startclock = clock(); int endclock; //New image dimensions Xnew=X*ctl(0)/100; Ynew=Y*ctl(0)/100; for (y=y_start; y