rounded_bl.imagecache_preset.inc 924 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_bl'] = array (
  12. 'name' => 'rounded_bl',
  13. '#weight' => 3.1,
  14. 'effects' => array (
  15. 1 => array (
  16. 'weight' => '0',
  17. 'module' => 'imagecache_canvasactions',
  18. 'name' => 'canvasactions_roundedcorners',
  19. 'data' => array (
  20. 'radius' => '50',
  21. 'independent_corners_set' => array (
  22. 'independent_corners' => 1,
  23. 'radii' => array (
  24. 'tl' => '10',
  25. 'tr' => '0',
  26. 'bl' => '50',
  27. 'br' => '10',
  28. ),
  29. ),
  30. 'antialias' => true,
  31. ),
  32. ),
  33. 2 => array (
  34. 'weight' => '3',
  35. 'module' => 'imagecache_coloractions',
  36. 'name' => 'coloractions_convert',
  37. 'data' =>array (
  38. 'format' => 'image/png',
  39. ),
  40. ),
  41. ),
  42. );