cheap_dropshadow.imagecache_preset.inc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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['cheap_dropshadow'] = array (
  11. 'name' => 'cheap_dropshadow',
  12. '#weight' => '3.3',
  13. 'effects' =>
  14. array (
  15. -1 => array (
  16. 'weight' => '-1',
  17. 'module' => 'imagecache_coloractions',
  18. 'name' => 'coloractions_convert',
  19. 'data' => array (
  20. 'format' => 'image/png',
  21. 'quality' => '95',
  22. ),
  23. ),
  24. 0 =>
  25. array (
  26. 'weight' => '0',
  27. 'module' => 'imagecache_canvasactions',
  28. 'name' => 'canvasactions_definecanvas',
  29. 'data' =>
  30. array (
  31. 'RGB' =>
  32. array (
  33. 'HEX' => '999999',
  34. ),
  35. 'under' => 0,
  36. 'exact' =>
  37. array (
  38. 'width' => '',
  39. 'height' => '',
  40. 'xpos' => 'center',
  41. 'ypos' => 'center',
  42. ),
  43. 'relative' =>
  44. array (
  45. 'leftdiff' => '0',
  46. 'rightdiff' => '0',
  47. 'topdiff' => '0',
  48. 'bottomdiff' => '0',
  49. ),
  50. ),
  51. ),
  52. 1 =>
  53. array (
  54. 'weight' => '1',
  55. 'module' => 'imagecache_canvasactions',
  56. 'name' => 'canvasactions_definecanvas',
  57. 'data' =>
  58. array (
  59. 'RGB' =>
  60. array (
  61. 'HEX' => '',
  62. ),
  63. 'under' => 1,
  64. 'exact' =>
  65. array (
  66. 'width' => '',
  67. 'height' => '',
  68. 'xpos' => 'center',
  69. 'ypos' => 'center',
  70. ),
  71. 'relative' =>
  72. array (
  73. 'leftdiff' => '20',
  74. 'rightdiff' => '0',
  75. 'topdiff' => '20',
  76. 'bottomdiff' => '0',
  77. ),
  78. ),
  79. ),
  80. 2 =>
  81. array (
  82. 'weight' => '2',
  83. 'module' => 'imagecache_canvasactions',
  84. 'name' => 'canvasactions_source2canvas',
  85. 'data' =>
  86. array (
  87. 'xpos' => 0,
  88. 'ypos' => 0,
  89. 'alpha' => '100',
  90. ),
  91. ),
  92. 3 =>
  93. array (
  94. 'weight' => '3',
  95. 'module' => 'image',
  96. 'name' => 'image_scale',
  97. 'data' =>
  98. array (
  99. 'width' => '200',
  100. 'height' => '',
  101. 'upscale' => 0,
  102. ),
  103. ),
  104. 4 => array (
  105. 'weight' => '10',
  106. 'module' => 'imagecache_coloractions',
  107. 'name' => 'coloractions_convert',
  108. 'data' => array (
  109. 'format' => 'image/png',
  110. 'quality' => '95',
  111. ),
  112. ),
  113. ),
  114. );