Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## master

* fix `Image#add_alpha()` with libvips 8.16 [kleisauke]

## Version 2.2.2 (2024-07-17)

* fix compat with unified (semistatic) libvips binaries [kleisauke]
Expand Down
2 changes: 1 addition & 1 deletion lib/vips/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def has_alpha?
# @return [Image] new image
def add_alpha
ptr = GenericPtr.new
result = Vips.vips_addalpha self, ptr
result = Vips.vips_addalpha self, ptr, :pointer, nil
raise Vips::Error if result != 0

Vips::Image.new ptr[:value]
Expand Down