Skip to content

Instantly share code, notes, and snippets.

@greenbigfrog
Created May 30, 2021 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greenbigfrog/cd939542a3ade641b8e43455c78d61dc to your computer and use it in GitHub Desktop.
Save greenbigfrog/cd939542a3ade641b8e43455c78d61dc to your computer and use it in GitHub Desktop.
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