DJ Mike's Tutorials: PHP


^ >

ImageMagick Functions

Imagick Methods Supported by eclecticdjs.com

Methods for Imagick Class

  1. __construct
  2. __tostring
  3. adaptiveblurimage
  4. adaptiveresizeimage
  5. adaptivesharpenimage
  6. adaptivethresholdimage
  7. addimage
  8. addnoiseimage
  9. affinetransformimage
  10. annotateimage
  11. appendimages
  12. averageimages
  13. blackthresholdimage
  14. blurimage
  15. borderimage
  16. charcoalimage
  17. chopimage
  18. clear
  19. clipimage
  20. clippathimage
  21. clone
  22. clutimage
  23. coalesceimages
  24. colorfloodfillimage
  25. colorizeimage
  26. combineimages
  27. commentimage
  28. compareimagechannels
  29. compareimagelayers
  30. compareimages
  31. compositeimage
  32. contrastimage
  33. contraststretchimage
  34. convolveimage
  35. cropimage
  36. cropthumbnailimage
  37. current
  38. cyclecolormapimage
  39. deconstructimages
  40. despeckleimage
  41. destroy
  42. displayimage
  43. displayimages
  44. distortimage
  45. drawimage
  46. edgeimage
  47. embossimage
  48. enhanceimage
  49. equalizeimage
  50. evaluateimage
  51. extentimage
  52. flattenimages
  53. flipimage
  54. flopimage
  55. frameimage
  56. fximage
  57. gammaimage
  58. gaussianblurimage
  59. getcompression
  60. getcompressionquality
  61. getcopyright
  62. getfilename
  63. getfont
  64. getformat
  65. getgravity
  66. gethomeurl
  67. getimage
  68. getimageattribute
  69. getimagebackgroundcolor
  70. getimageblob
  71. getimageblueprimary
  72. getimagebordercolor
  73. getimagechanneldepth
  74. getimagechanneldistortion
  75. getimagechannelextrema
  76. getimagechannelmean
  77. getimagechannelstatistics
  78. getimagecolormapcolor
  79. getimagecolors
  80. getimagecolorspace
  81. getimagecompose
  82. getimagedelay
  83. getimagedepth
  84. getimagedispose
  85. getimagedistortion
  86. getimageextrema
  87. getimagefilename
  88. getimageformat
  89. getimagegamma
  90. getimagegeometry
  91. getimagegreenprimary
  92. getimageheight
  93. getimagehistogram
  94. getimageindex
  95. getimageinterlacescheme
  96. getimageinterpolatemethod
  97. getimageiterations
  98. getimagelength
  99. getimagematte
  100. getimagemattecolor
  101. getimageorientation
  102. getimagepage
  103. getimagepixelcolor
  104. getimageprofile
  105. getimageprofiles
  106. getimageproperties
  107. getimageproperty
  108. getimageredprimary
  109. getimageregion
  110. getimagerenderingintent
  111. getimageresolution
  112. getimagesblob
  113. getimagescene
  114. getimagesignature
  115. getimagesize
  116. getimagetickspersecond
  117. getimagetotalinkdensity
  118. getimagetype
  119. getimageunits
  120. getimagevirtualpixelmethod
  121. getimagewhitepoint
  122. getimagewidth
  123. getinterlacescheme
  124. getiteratorindex
  125. getnumberimages
  126. getoption
  127. getpackagename
  128. getpage
  129. getpixeliterator
  130. getpixelregioniterator
  131. getpointsize
  132. getquantumdepth
  133. getquantumrange
  134. getreleasedate
  135. getresource
  136. getresourcelimit
  137. getsamplingfactors
  138. getsize
  139. getsizeoffset
  140. getversion
  141. hasnextimage
  142. haspreviousimage
  143. identifyimage
  144. implodeimage
  145. key
  146. labelimage
  147. levelimage
  148. linearstretchimage
  149. liquidrescaleimage
  150. magnifyimage
  151. mapimage
  152. mattefloodfillimage
  153. medianfilterimage
  154. mergeimagelayers
  155. minifyimage
  156. modulateimage
  157. montageimage
  158. morphimages
  159. mosaicimages
  160. motionblurimage
  161. negateimage
  162. newimage
  163. newpseudoimage
  164. next
  165. nextimage
  166. normalizeimage
  167. oilpaintimage
  168. optimizeimagelayers
  169. paintfloodfillimage
  170. paintopaqueimage
  171. painttransparentimage
  172. pingimage
  173. pingimageblob
  174. pingimagefile
  175. polaroidimage
  176. posterizeimage
  177. previewimages
  178. previousimage
  179. profileimage
  180. quantizeimage
  181. quantizeimages
  182. queryfontmetrics
  183. queryfonts
  184. queryformats
  185. radialblurimage
  186. raiseimage
  187. randomthresholdimage
  188. readimage
  189. readimageblob
  190. readimagefile
  191. readimages
  192. reducenoiseimage
  193. removeimage
  194. removeimageprofile
  195. resampleimage
  196. resetiterator
  197. resizeimage
  198. rewind
  199. rollimage
  200. rotateimage
  201. roundcorners
  202. sampleimage
  203. scaleimage
  204. separateimagechannel
  205. sepiatoneimage
  206. setbackgroundcolor
  207. setcompression
  208. setcompressionquality
  209. setfilename
  210. setfirstiterator
  211. setfont
  212. setformat
  213. setgravity
  214. setimage
  215. setimagealphachannel
  216. setimageattribute
  217. setimagebackgroundcolor
  218. setimagebias
  219. setimageblueprimary
  220. setimagebordercolor
  221. setimagechanneldepth
  222. setimagecolormapcolor
  223. setimagecolorspace
  224. setimagecompose
  225. setimagecompression
  226. setimagecompressionquality
  227. setimagedelay
  228. setimagedepth
  229. setimagedispose
  230. setimageextent
  231. setimagefilename
  232. setimageformat
  233. setimagegamma
  234. setimagegreenprimary
  235. setimageindex
  236. setimageinterlacescheme
  237. setimageinterpolatemethod
  238. setimageiterations
  239. setimagematte
  240. setimagemattecolor
  241. setimageopacity
  242. setimageorientation
  243. setimagepage
  244. setimageprofile
  245. setimageproperty
  246. setimageredprimary
  247. setimagerenderingintent
  248. setimageresolution
  249. setimagescene
  250. setimagetickspersecond
  251. setimagetype
  252. setimageunits
  253. setimagevirtualpixelmethod
  254. setimagewhitepoint
  255. setinterlacescheme
  256. setiteratorindex
  257. setlastiterator
  258. setoption
  259. setpage
  260. setpointsize
  261. setresolution
  262. setresourcelimit
  263. setsamplingfactors
  264. setsize
  265. setsizeoffset
  266. settype
  267. shadeimage
  268. shadowimage
  269. sharpenimage
  270. shaveimage
  271. shearimage
  272. sigmoidalcontrastimage
  273. sketchimage
  274. solarizeimage
  275. spliceimage
  276. spreadimage
  277. steganoimage
  278. stereoimage
  279. stripimage
  280. swirlimage
  281. textureimage
  282. thresholdimage
  283. thumbnailimage
  284. tintimage
  285. transformimage
  286. transposeimage
  287. transverseimage
  288. trimimage
  289. uniqueimagecolors
  290. unsharpmaskimage
  291. valid
  292. vignetteimage
  293. waveimage
  294. whitethresholdimage
  295. writeimage
  296. writeimages

Methods for ImagickDraw Class

  1. __construct
  2. affine
  3. annotation
  4. arc
  5. bezier
  6. circle
  7. clear
  8. clone
  9. color
  10. comment
  11. composite
  12. destroy
  13. ellipse
  14. getclippath
  15. getcliprule
  16. getclipunits
  17. getfillcolor
  18. getfillopacity
  19. getfillrule
  20. getfont
  21. getfontfamily
  22. getfontsize
  23. getfontstyle
  24. getfontweight
  25. getgravity
  26. getstrokeantialias
  27. getstrokecolor
  28. getstrokedasharray
  29. getstrokedashoffset
  30. getstrokelinecap
  31. getstrokelinejoin
  32. getstrokemiterlimit
  33. getstrokeopacity
  34. getstrokewidth
  35. gettextalignment
  36. gettextantialias
  37. gettextdecoration
  38. gettextencoding
  39. gettextundercolor
  40. getvectorgraphics
  41. line
  42. matte
  43. pathclose
  44. pathcurvetoabsolute
  45. pathcurvetoquadraticbezierabsolute
  46. pathcurvetoquadraticbezierrelative
  47. pathcurvetoquadraticbeziersmoothabsolute
  48. pathcurvetoquadraticbeziersmoothrelative
  49. pathcurvetorelative
  50. pathcurvetosmoothabsolute
  51. pathcurvetosmoothrelative
  52. pathellipticarcabsolute
  53. pathellipticarcrelative
  54. pathfinish
  55. pathlinetoabsolute
  56. pathlinetohorizontalabsolute
  57. pathlinetohorizontalrelative
  58. pathlinetorelative
  59. pathlinetoverticalabsolute
  60. pathlinetoverticalrelative
  61. pathmovetoabsolute
  62. pathmovetorelative
  63. pathstart
  64. point
  65. polygon
  66. polyline
  67. pop
  68. popclippath
  69. popdefs
  70. poppattern
  71. push
  72. pushclippath
  73. pushdefs
  74. pushpattern
  75. rectangle
  76. render
  77. resetvectorgraphics
  78. rotate
  79. roundrectangle
  80. scale
  81. setclippath
  82. setcliprule
  83. setclipunits
  84. setfillalpha
  85. setfillcolor
  86. setfillopacity
  87. setfillpatternurl
  88. setfillrule
  89. setfont
  90. setfontfamily
  91. setfontsize
  92. setfontstretch
  93. setfontstyle
  94. setfontweight
  95. setgravity
  96. setstrokealpha
  97. setstrokeantialias
  98. setstrokecolor
  99. setstrokedasharray
  100. setstrokedashoffset
  101. setstrokelinecap
  102. setstrokelinejoin
  103. setstrokemiterlimit
  104. setstrokeopacity
  105. setstrokepatternurl
  106. setstrokewidth
  107. settextalignment
  108. settextantialias
  109. settextdecoration
  110. settextencoding
  111. settextundercolor
  112. setvectorgraphics
  113. setviewbox
  114. skewx
  115. skewy
  116. translate

Methods for ImagickPixel Class

  1. __construct
  2. clear
  3. clone
  4. destroy
  5. getcolor
  6. getcolorasstring
  7. getcolorcount
  8. getcolorvalue
  9. gethsl
  10. issimilar
  11. setcolor
  12. setcolorcount
  13. setcolorvalue
  14. sethsl

Methods for ImagickPixeliterator Class

  1. __construct
  2. clear
  3. current
  4. destroy
  5. getcurrentiteratorrow
  6. getiteratorrow
  7. getnextiteratorrow
  8. getpreviousiteratorrow
  9. key
  10. newpixeliterator
  11. newpixelregioniterator
  12. next
  13. resetiterator
  14. rewind
  15. setiteratorfirstrow
  16. setiteratorlastrow
  17. setiteratorrow
  18. synciterator
  19. valid

Fonts Supported by eclecticdjs.com

  1. AvantGarde-Book
  2. AvantGarde-BookOblique
  3. AvantGarde-Demi
  4. AvantGarde-DemiOblique
  5. Bitstream-Charter-Bold
  6. Bitstream-Charter-Bold-Italic
  7. Bitstream-Charter-Italic
  8. Bitstream-Charter-Regular
  9. Bookman-Demi
  10. Bookman-DemiItalic
  11. Bookman-Light
  12. Bookman-LightItalic
  13. Century-Schoolbook-Bold
  14. Century-Schoolbook-Bold-Italic
  15. Century-Schoolbook-Italic
  16. Century-Schoolbook-Roman
  17. Courier
  18. Courier-10-Pitch-Bold
  19. Courier-10-Pitch-Bold-Italic
  20. Courier-10-Pitch-Italic
  21. Courier-10-Pitch-Regular
  22. Courier-Bold
  23. Courier-Bold-Italic
  24. Courier-BoldOblique
  25. Courier-Italic
  26. Courier-Oblique
  27. Courier-Regular
  28. Cursor-Regular
  29. Dingbats-Regular
  30. fixed
  31. Helvetica
  32. Helvetica-Bold
  33. Helvetica-BoldOblique
  34. Helvetica-Narrow
  35. Helvetica-Narrow-Bold
  36. Helvetica-Narrow-BoldOblique
  37. Helvetica-Narrow-Oblique
  38. Helvetica-Oblique
  39. Luxi-Mono-Bold
  40. Luxi-Mono-Bold-Oblique
  41. Luxi-Mono-Oblique
  42. Luxi-Mono-Regular
  43. Luxi-Sans-Bold
  44. Luxi-Sans-Bold-Oblique
  45. Luxi-Sans-Oblique
  46. Luxi-Sans-Regular
  47. Luxi-Serif-Bold
  48. Luxi-Serif-Bold-Oblique
  49. Luxi-Serif-Oblique
  50. Luxi-Serif-Regular
  51. NewCenturySchlbk-Bold
  52. NewCenturySchlbk-BoldItalic
  53. NewCenturySchlbk-Italic
  54. NewCenturySchlbk-Roman
  55. Nimbus-Mono-Bold
  56. Nimbus-Mono-Bold-Oblique
  57. Nimbus-Mono-Regular
  58. Nimbus-Mono-Regular-Oblique
  59. Nimbus-Roman-No9-Bold
  60. Nimbus-Roman-No9-Bold-Italic
  61. Nimbus-Roman-No9-Regular
  62. Nimbus-Roman-No9-Regular-Italic
  63. Nimbus-Sans-Bold
  64. Nimbus-Sans-Bold-Italic
  65. Nimbus-Sans-Condensed-Bold
  66. Nimbus-Sans-Condensed-Bold-Italic
  67. Nimbus-Sans-Condensed-Regular
  68. Nimbus-Sans-Condensed-Regular-Italic
  69. Nimbus-Sans-Regular
  70. Nimbus-Sans-Regular-Italic
  71. Palatino-Bold
  72. Palatino-BoldItalic
  73. Palatino-Italic
  74. Palatino-Roman
  75. Standard-Symbols-Regular
  76. Symbol
  77. Times-Bold
  78. Times-BoldItalic
  79. Times-Italic
  80. Times-Roman
  81. URW-Bookman-Demi-Bold
  82. URW-Bookman-Demi-Bold-Italic
  83. URW-Bookman-Light
  84. URW-Bookman-Light-Italic
  85. URW-Chancery-Medium-Italic
  86. URW-Gothic-Book
  87. URW-Gothic-Book-Oblique
  88. URW-Gothic-Demi
  89. URW-Gothic-Demi-Oblique
  90. URW-Palladio-Bold
  91. URW-Palladio-Bold-Italic
  92. URW-Palladio-Italic
  93. URW-Palladio-Roman
  94. Utopia-Bold
  95. Utopia-Bold-Italic
  96. Utopia-Italic
  97. Utopia-Regular
<?php
function list_methods($name)
  {
  
# get all methods
  
$methods get_class_methods($name);
  
# sort
  
sort($methods);
  
# remove duplicates
  
$methods array_unique($methods);
  
# make a header
  
echo "<h2 style=\"text-align:center\">
         Methods for $name Class</h2>"
;
  
# make ordered list of methods
  
echo "<ol>";
  foreach ( 
$methods as $key=>$val )
    { echo 
"<li> $val<br>"; }
  echo 
"</ol>";
  } 
# end of list_methods

echo "<h2 style=\"text-align:center\">Imagick Methods Supported by $_SERVER[SERVER_NAME]</h2>";
list_methods("Imagick"); 
list_methods("ImagickDraw"); 
list_methods("ImagickPixel"); 
list_methods("ImagickPixeliterator"); 

# list fonts
echo "<h2 style=\"text-align:center\">Fonts Supported by $_SERVER[SERVER_NAME]</h2>";
echo 
"<ol>";
$fonts_obj = new Imagick(); 
$fonts $fonts_obj->queryFonts();
foreach( 
$fonts as $key=>$var)
   { echo 
"<li>$var\n";  }
echo 
"</ol>";

?>


^ >


Created by DJ Mike from Santa Barbara

DJ Mike


Dance Away Santa Barbara's Home Page
<a href="http://www.statcounter.com/" target="_blank"> <img src="http://c5.statcounter.com/counter.php?sc_project=1321035&java=0&security=da2193dc" alt="counter free hit invisible" border="0" /></a>