lib/vips/image.rb
# 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