Created
May 30, 2021 13:55
-
-
Save greenbigfrog/cd939542a3ade641b8e43455c78d61dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib LibVips | |
fun vips_resize(in : Int*, out : Int*, hscale : Int32, vscale : Int32) : Int | |
end | |
class Vips::Image | |
def resize(hscale : Int32, vscale : Int32) | |
LibVips.vips_resize(self, self, hscale, vscale) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment