libvips / lua-vips

Lua binding for the libvips image processing library
MIT License
125 stars 10 forks source link

Fix crash with write_to_file/buffer with Lua 5.4 #74

Closed rolandlo closed 5 months ago

rolandlo commented 5 months ago

Not sure why, but garbage collection in Image_method:write_to_file makes example/hello_world.lua crash otherwise when run with Lua 5.4. This also happens with Image_method:write_to_buffer.