rounded.imagecache_preset.inc 695 B

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