Skip to main content

Orient

The Orient parameter automatically applies optimal quality compression to produce an output image with as much visual fidelity as possible, while minimizing the file size.

NOTE:

  1. Orient is currently supported by the folring output formats: JPEG, WebP.
  2. If the quality parameter is also provided, quality overrides Orient because it is more precise.
  3. Because Orient attempts to produce an output image with as much visual quality as possible while minimizing the file size, the operations applied are subject to change.
enum Orient {
RIGHT
LEFT
HORIZONTAL_FLIP
VERTICAL_FLIP
HV_FLIP
ONE
TWO
THREE
FOUR
FIVE
SIX
SEVEN
EIGHT
}

Values

Orient.RIGHT

Orient the image right.

Orient.LEFT

Orient the image left.

Orient.HORIZONTAL_FLIP

Flip the image horizontally.

Orient.VERTICAL_FLIP

Flip the image horizontally.

Orient.HV_FLIP

Flip the image both horizontally and vertically (also vh).

Orient.ONE

Default - don't do anything...

Orient.TWO

Flip the image horizontally.

Orient.THREE

Flip the image horizontally and vertically.

Orient.FOUR

Flip the image vertically.

Orient.FIVE

Flip the image horizontally, then orient the image left (also rv or vr).

Orient.SIX

Orient the image right.

Orient.SEVEN

Flip the image horizontally, then orient the image right (also lv or vl).

Orient.EIGHT

Orient the image left.

Member Of

TransformationInput input