-
-
Save greenbigfrog/2c1867c741bd11d3483b8d7d76ed592d 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 | |
alias Img = LibVips::Image | |
fun vips_resize(input : Img*, output : Img*) | |
end | |
class Vips::Image | |
def resize | |
LibVips.vips_resize(self, out something) | |
something # this gets auto as LibVips::Image, but I want a Vips::Image | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment