rounded_bl.imagecache_preset.inc 940 B

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