You are here

public function ImageAPIOptimizeProcessorJpegTran::__construct in Image Optimize (or ImageAPI Optimize) 7.2

ImageAPIOptimizeProcessorReSmushIt constructor.

Overrides ImageAPIOptimizeProcessorBinary::__construct

File

plugins/imageapi_optimize/ImageAPIOptimizeProcessorJpegTran.inc, line 11

Class

ImageAPIOptimizeProcessorJpegTran

Code

public function __construct($data) {
  parent::__construct($data);
  if (isset($data['progressive'])) {
    $this->progressive = $data['progressive'];
  }
}