We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa08bb commit b79f3efCopy full SHA for b79f3ef
src/vips/Image_methods.lua
@@ -500,11 +500,11 @@ end
500
function Image_method:get_gainmap()
501
collectgarbage("stop")
502
local vimage = vips_lib.vips_image_get_gainmap(self.vimage)
503
+ collectgarbage("restart")
504
if vimage == ffi.NULL then
505
return nil
506
end
507
- collectgarbage("restart")
508
return Image.new(vimage)
509
510
-- standard header fields
0 commit comments