Module: JekyllImagemagickSutermserv

Defined in:
lib/convert.rb,
lib/defaults.rb,
lib/generator.rb

Defined Under Namespace

Classes: ImageConvert, ImageFile, ImageGenerator

Constant Summary collapse

LOG_PREFIX =
'ImagemagickSuts:'.freeze
DEFAULTS =

The default configuration for the Imagemagick generator The values here represent the defaults if nothing is set

{
  'enabled'           => false,

  # List of directories containing images to optimize, Nested directories will not be checked
  'input_directories' => [],

  # List of resolutions to generate, 0 means full size otherwise is the long edge
  'widths'            => [0],

  'input_formats'     => ['.png', '.tiff'],

  'output_formats'    => [],

  # List of files or directories to exclude
  'exclude'           => [],

  'skip_languages'    => [],
}.freeze