rounded_flattened.imagecache_preset.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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_flattened'] = array (
  12. 'name' => 'rounded_flattened',
  13. '#weight' => 3.3,
  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. 'tr' => '100',
  25. 'br' => '0',
  26. 'tl' => '0',
  27. 'bl' => '0',
  28. ),
  29. ),
  30. 'antialias' => true,
  31. ),
  32. ),
  33. 2 => array (
  34. 'weight' => '0',
  35. 'module' => 'imagecache_canvasactions',
  36. 'name' => 'canvasactions_definecanvas',
  37. 'data' => array (
  38. 'RGB' => array (
  39. 'HEX' => '333333',
  40. ),
  41. 'under' => 1,
  42. 'exact' => array (
  43. 'width' => '',
  44. 'height' => '',
  45. 'xpos' => 'center',
  46. 'ypos' => 'center',
  47. ),
  48. 'relative' => array (
  49. 'leftdiff' => '2',
  50. 'rightdiff' => '2',
  51. 'topdiff' => '2',
  52. 'bottomdiff' => '2',
  53. ),
  54. ),
  55. ),
  56. ),
  57. );