Sha256: dc477aa2620f6c33037e298b855ca83ef40254544a345717f8961a96c3630a79
Contents?: true
Size: 440 Bytes
Versions: 9
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module GDAL class ColorInterpretation # @param gdal_color_interp [FFI::GDAL::ColorInterp] # @return [String] def self.name(gdal_color_interp) FFI::GDAL::GDAL.GDALGetColorInterpretationName(gdal_color_interp) end # @param name [String] # @return [FFI::GDAL::ColorInterp] def self.by_name(name) FFI::GDAL::GDAL.GDALGetColorInterpretationByName(name) end end end
Version data entries
9 entries across 9 versions & 1 rubygems