Bilinear interpolation: Difference between revisions

Content added Content deleted
m (Automated syntax highlighting fixup (second round - minor fixes))
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,237: Line 1,237:
{{libheader|DOME}}
{{libheader|DOME}}
Note that currently DOME's ImageData class can only save files to disk in .png format.
Note that currently DOME's ImageData class can only save files to disk in .png format.
<syntaxhighlight lang="ecmascript">import "dome" for Window
<syntaxhighlight lang="wren">import "dome" for Window
import "graphics" for Canvas, Color, ImageData
import "graphics" for Canvas, Color, ImageData
import "math" for Math
import "math" for Math
Line 1,303: Line 1,303:


var Game = BilinearInterpolation.new("Lenna100.jpg", "Lenna100_larger.png", 1.6, 1.6)</syntaxhighlight>
var Game = BilinearInterpolation.new("Lenna100.jpg", "Lenna100_larger.png", 1.6, 1.6)</syntaxhighlight>

=={{header|Yabasic}}==
=={{header|Yabasic}}==
{{trans|Nim}}
{{trans|Nim}}