Class: Imgproxy::OptionsBuilders::Info

Inherits:
Base
  • Object
show all
Defined in:
lib/imgproxy/options_builders/info.rb

Overview

Formats and regroups info options

Constant Summary collapse

CASTERS =
{
  size: Imgproxy::OptionsCasters::Bool,
  format: Imgproxy::OptionsCasters::Bool,
  dimensions: Imgproxy::OptionsCasters::Bool,
  exif: Imgproxy::OptionsCasters::Bool,
  iptc: Imgproxy::OptionsCasters::Bool,
  video_meta: Imgproxy::OptionsCasters::Bool,
  detect_objects: Imgproxy::OptionsCasters::Bool,
  colorspace: Imgproxy::OptionsCasters::Bool,
  bands: Imgproxy::OptionsCasters::Bool,
  sample_format: Imgproxy::OptionsCasters::Bool,
  pages_number: Imgproxy::OptionsCasters::Bool,
  alpha: Imgproxy::OptionsCasters::Alpha,
  crop: Imgproxy::OptionsCasters::Crop,
  palette: Imgproxy::OptionsCasters::Integer,
  average: Imgproxy::OptionsCasters::Average,
  dominant_colors: Imgproxy::OptionsCasters::DominantColors,
  blurhash: Imgproxy::OptionsCasters::Blurhash,
  calc_hashsum: Imgproxy::OptionsCasters::Array,
  page: Imgproxy::OptionsCasters::Integer,
  video_thumbnail_second: Imgproxy::OptionsCasters::Integer,
  video_thumbnail_keyframes: Imgproxy::OptionsCasters::Bool,
  cachebuster: Imgproxy::OptionsCasters::String,
  expires: Imgproxy::OptionsCasters::Integer,
  preset: Imgproxy::OptionsCasters::Array,
  hashsum: Imgproxy::OptionsCasters::Hashsum,
  max_src_resolution: Imgproxy::OptionsCasters::Float,
  max_src_file_size: Imgproxy::OptionsCasters::Integer,
}.freeze

Constants inherited from Base

Base::META

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Imgproxy::OptionsBuilders::Base