Sha256: 7e52c0212d0bb54b8dfb39f508a835336faebb0507a320077d847798e6db722f

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

module GDAL
  class ColorInterpretation
    # @param gdal_color_interp [FFI::GDAL::ColorInterp]
    # @return [String]
    def self.name(gdal_color_interp)
      FFI::GDAL.GDALGetColorInterpretationName(gdal_color_interp)
    end

    # @param name [String]
    # @return [FFI::GDAL::ColorInterp]
    def self.by_name(name)
      FFI::GDAL.GDALGetColorInterpretationByName(name)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta5 lib/gdal/color_interpretation.rb
ffi-gdal-1.0.0.beta4 lib/gdal/color_interpretation.rb