lua-vips icon indicating copy to clipboard operation
lua-vips copied to clipboard

Lua binding for the libvips image processing library

Results 14 lua-vips issues
Sort by recently updated
recently updated
newest added

I'm tampering with lua-vips on a Raspberry Pi with a custom-built libvips, and I can't seem to get the module to work. Here's the simple code I used: ```lua local...

This PR adds support for a small handful of misc image methods which are not covered by the binding, such as `hasalpha`. Since vips is still a bit of a...

I recently installed vips-8.10.5, and tried rendering text, but I got an error: ``` > vips = require 'vips' > image = vips.Image.text("Hello World!", {dpi = 300}) /usr/local/share/lua/5.1/vips/voperation.lua:155: no such...

question

To get an original picture from the file, what I want to do is to select a position, cut a rectangle, and make a concave or convex semicircle on the...

Congrats on your work, lua-vips looks really nice. I'd like to use it with OpenResty, but I want to avoid blocking the main process. Have you done any tests in...

question

GDB bt ```shell #0 0x00007f7f1bc96ae1 in lj_alloc_free (msp=0x40ebc010, ptr=0x410fff88) at lj_alloc.c:1376 #1 0x00007f7f1bc4ec6d in gc_sweep (g=g@entry=0x40ebc3b8, p=0x4020bcdc, lim=4294967294, lim@entry=4294967295) at lj_gc.c:406 #2 0x00007f7f1bc4f8a0 in gc_onestep (L=L@entry=0x41e64600) at lj_gc.c:628 #3 0x00007f7f1bc4fd4c...

bug

Hi John, I wanted to use the get_disc_threshold() function. But vips.get_disc_threshold () does not exist. How can I use it and other global functions? They seem like not "exposed" to...

question

Hello. The lua worker, read bytes from stream pipe, we know length buffer, but not know image type. How best to do, create an image object, `new_from_buffer(buff)` or `file.write(buff)` and...

question

See https://github.com/facebook/luaffifb

enhancement

As of this writing, the master branch of libvips supports `addalpha` as an operation (see https://github.com/libvips/libvips/pull/3884), meaning that the native Lua implementation is unnecessary. It will probably be best to...