Supported info options

size

{
  size: true || false
}

format

{
  format: true || false
}

dimensions

{
  dimensions: true || false
}

video_meta

{
  video_meta: true || false
}

detect_objects

{
  detect_objects: true || false
}

colorspace

{
  colorspace: true || false
}

bands

{
  bands: true || false
}

sample_format

{
  sample_format: true || false
}

pages_number

{
  pages_number: true || false
}

alpha

{
  alpha: {
    alpha: true || false,
    check_transparency: true || false,
  }
}

crop

{
  crop: {
    width: Float,
    height: Float,
    gravity: gravity, # See the 'gravity' processing option
  }
}

palette

{
  palette: Integer
}

average

{
  average: {
    average: true || false,
    ignore_transparent: true || false,
  }
}

dominant_colors

{
  dominant_colors: {
    dominant_colors: true || false,
    build_missed: true || false,
  }
}

blurhash

{
  blurhash: {
    x_components: Integer,
    y_components: Integer,
  }
}

calc_hashsum

{
  calc_hashsum: Array[String || Symbol]
}

page

{
  page: Integer
}

video_thumbnail_second

{
  video_thumbnail_second: Float
}

video_thumbnail_keyframes

{
  video_thumbnail_keyframes: true || false
}

cachebuster

{
  cachebuster: String || Symbol
}

expires

{
  expires: Integer || Time,
}

preset

{
  preset: Array[String || Symbol]
}

hashsum

{
  hashsum: {
    hashsum_type: Array[String || Symbol]
    hashsum: String,
  }
}

max_src_resolution

{
  max_src_resolution: Float
}

max_src_file_size

{
  max_src_file_size: Integer
}