You are here

rotate_alpha.imagecache_preset.inc in ImageCache Actions 6.2

File

canvasactions/tests/rotate_alpha.imagecache_preset.inc
View source
<?php

// $ID:  $

/**
 * @file
 *   Test imagecache preset.
 * 
 * Created on Dec 29, 2009
 *
 * @author 'dman' Dan Morrison http://coders.co.nz/
 */
$presets['rotate_alpha'] = array(
  'presetname' => 'rotate_alpha',
  '#weight' => 1.4,
  'actions' => array(
    1 => array(
      'weight' => '1',
      'module' => 'imagecache',
      'action' => 'imagecache_rotate',
      'data' => array(
        'degrees' => '15',
        'random' => 0,
        'bgcolor' => '',
      ),
    ),
    3 => array(
      'weight' => '3',
      'module' => 'imagecache_coloractions',
      'action' => 'imagecache_convert',
      'data' => array(
        'format' => 'image/png',
      ),
    ),
  ),
);