Sha256: 62049a5b92b4c4df067251f5058a8aeb47451e958aeca882352c4a012ccd90d4

Contents?: true

Size: 131 Bytes

Versions: 4

Compression:

Stored size: 131 Bytes

Contents

module Jpeg
  class Image
    def rgb?
      color_info == :rgb
    end

    def gray?
      color_info == :gray
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jpeg-0.7.0 lib/jpeg/image.rb
jpeg-0.6.0 lib/jpeg/image.rb
jpeg-0.5.1 lib/jpeg/image.rb
jpeg-0.5.0 lib/jpeg/image.rb