You are here

function imageapi_optimize_binaries_jpegtran_form in Image Optimize (or ImageAPI Optimize) 7

JPEGTran ImageAPI Optimize form callback.

File

binaries/jpegtran.inc, line 26
JPEGTran integration.

Code

function imageapi_optimize_binaries_jpegtran_form($settings) {
  $form = array();
  $form['progressive'] = array(
    '#title' => t('Progressive'),
    '#type' => 'checkbox',
    '#default_value' => $settings['progressive'],
  );
  return $form;
}