Sha256: 932d63de7531065dc39e1bfb924bd42a4965bf699bc439678ba9e0d6664d7b3c

Contents?: true

Size: 1 KB

Versions: 8

Compression:

Stored size: 1 KB

Contents

#  encoding: UTF-8

module FreeImage
  ##
  # FreeImage supports the following dithering algorithms:
  #
  # :fs::           Floyd & Steinberg error diffusion algorithm
  # :bayer4x4::     Bayer ordered dispersed dot dithering (order 2 – 4x4 -dithering matrix)
  # :bayer8x8::     Bayer ordered dispersed dot dithering (order 3 – 8x8 -dithering matrix)
  # :bayer16x16::   Bayer ordered dispersed dot dithering (order 4 – 16x16 dithering matrix)
  # :cluster6x6::   Ordered clustered dot dithering (order 3 - 6x6 matrix)
  # :cluster8x8::   Ordered clustered dot dithering (order 4 - 8x8 matrix)
  # :cluster16x16:: Ordered clustered dot dithering (order 8 - 16x16 matrix)
  #
  # :method: dithers
  
  FreeImage.enum :dither, [:fs, 0,
                           :bayer4x4, 1,
                           :bayer8x8, 2,
                           :cluster6x6, 3,
                           :cluster8x8, 4,
                           :cluster16x16, 5,
                           :bayer16x16, 6]
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
free-image-0.8.1 lib/free-image/enums/dithers.rb
free-image-0.8.0 lib/free-image/enums/dithers.rb
free-image-0.7.1 lib/free-image/enums/dithers.rb
free-image-0.7.0 lib/free-image/enums/dithers.rb
free-image-0.6.2 lib/free-image/enums/dithers.rb
free-image-0.6.1 lib/free-image/enums/dithers.rb
free-image-0.6.0 lib/free-image/enums/dithers.rb
free-image-0.5.0 lib/free-image/enums/dithers.rb