rounded.imagecache_preset.inc 679 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. // $ID: $
  3. /**
  4. * @file
  5. * Test imagecache preset.
  6. *
  7. * Created on Dec 29, 2009
  8. *
  9. * @author 'dman' Dan Morrison http://coders.co.nz/
  10. */
  11. $presets['rounded'] = array (
  12. 'name' => 'rounded',
  13. '#weight' => 3.0,
  14. 'effects' => array (
  15. 1 => array (
  16. 'weight' => '0',
  17. 'module' => 'imagecache_canvasactions',
  18. 'name' => 'canvasactions_roundedcorners',
  19. 'data' => array (
  20. 'radius' => '25',
  21. 'antialias' => true,
  22. ),
  23. ),
  24. 2 => array (
  25. 'weight' => '3',
  26. 'module' => 'imagecache_coloractions',
  27. 'name' => 'coloractions_convert',
  28. 'data' =>array (
  29. 'format' => 'image/png',
  30. ),
  31. ),
  32. ),
  33. );