vendor/bundle/ruby/3.0.0/gems/ruby-vips-2.1.4/lib/vips/image.rb
def add_alpha
        ptr = GenericPtr.new
        result = Vips.vips_addalpha self, ptr
        raise Vips::Error if result != 0

        Vips::Image.new ptr[:value]
      end
# Append an alpha channel to an image.
#
# @return [Image] new image
Append an alpha channel to an image.
Append an alpha channel to an image .
def add_alpha
        ptr = GenericPtr.new
        result = Vips.vips_addalpha self, ptr
        raise Vips::Error if result != 0
        Vips::Image.new ptr[:value]
      end
def add_alpha ptr = GenericPtr . new result = Vips . vips_addalpha self , ptr raise Vips :: Error if result != 0 Vips :: Image . new ptr [ :value ] end
Append an alpha channel to an image.
Append an alpha channel to an image .
None
Image