Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/vips/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ class Image < Vips::Object
UNKNOWN_POINTER_SIZE = FFI::Pointer.new(1).size
private_constant :UNKNOWN_POINTER_SIZE

# Close and free all resources associated with this image.
def close
Vips.vips_image_invalidate_all(self)
end

private

# the layout of the VipsImage struct
Expand Down