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. getimagechannelrange
  78. getimagechannelstatistics
  79. getimagecolormapcolor
  80. getimagecolors
  81. getimagecolorspace
  82. getimagecompose
  83. getimagecompressionquality
  84. getimagedelay
  85. getimagedepth
  86. getimagedispose
  87. getimagedistortion
  88. getimageextrema
  89. getimagefilename
  90. getimageformat
  91. getimagegamma
  92. getimagegeometry
  93. getimagegreenprimary
  94. getimageheight
  95. getimagehistogram
  96. getimageindex
  97. getimageinterlacescheme
  98. getimageinterpolatemethod
  99. getimageiterations
  100. getimagelength
  101. getimagematte
  102. getimagemattecolor
  103. getimageorientation
  104. getimagepage
  105. getimagepixelcolor
  106. getimageprofile
  107. getimageprofiles
  108. getimageproperties
  109. getimageproperty
  110. getimageredprimary
  111. getimageregion
  112. getimagerenderingintent
  113. getimageresolution
  114. getimagesblob
  115. getimagescene
  116. getimagesignature
  117. getimagesize
  118. getimagetickspersecond
  119. getimagetotalinkdensity
  120. getimagetype
  121. getimageunits
  122. getimagevirtualpixelmethod
  123. getimagewhitepoint
  124. getimagewidth
  125. getinterlacescheme
  126. getiteratorindex
  127. getnumberimages
  128. getoption
  129. getpackagename
  130. getpage
  131. getpixeliterator
  132. getpixelregioniterator
  133. getpointsize
  134. getquantumdepth
  135. getquantumrange
  136. getreleasedate
  137. getresource
  138. getresourcelimit
  139. getsamplingfactors
  140. getsize
  141. getsizeoffset
  142. getversion
  143. hasnextimage
  144. haspreviousimage
  145. identifyimage
  146. implodeimage
  147. key
  148. labelimage
  149. levelimage
  150. linearstretchimage
  151. liquidrescaleimage
  152. magnifyimage
  153. mapimage
  154. mattefloodfillimage
  155. medianfilterimage
  156. mergeimagelayers
  157. minifyimage
  158. modulateimage
  159. montageimage
  160. morphimages
  161. mosaicimages
  162. motionblurimage
  163. negateimage
  164. newimage
  165. newpseudoimage
  166. next
  167. nextimage
  168. normalizeimage
  169. oilpaintimage
  170. optimizeimagelayers
  171. orderedposterizeimage
  172. paintfloodfillimage
  173. paintopaqueimage
  174. painttransparentimage
  175. pingimage
  176. pingimageblob
  177. pingimagefile
  178. polaroidimage
  179. posterizeimage
  180. previewimages
  181. previousimage
  182. profileimage
  183. quantizeimage
  184. quantizeimages
  185. queryfontmetrics
  186. queryfonts
  187. queryformats
  188. radialblurimage
  189. raiseimage
  190. randomthresholdimage
  191. readimage
  192. readimageblob
  193. readimagefile
  194. readimages
  195. reducenoiseimage
  196. removeimage
  197. removeimageprofile
  198. resampleimage
  199. resetiterator
  200. resizeimage
  201. rewind
  202. rollimage
  203. rotateimage
  204. roundcorners
  205. sampleimage
  206. scaleimage
  207. separateimagechannel
  208. sepiatoneimage
  209. setbackgroundcolor
  210. setcompression
  211. setcompressionquality
  212. setfilename
  213. setfirstiterator
  214. setfont
  215. setformat
  216. setgravity
  217. setimage
  218. setimagealphachannel
  219. setimageattribute
  220. setimagebackgroundcolor
  221. setimagebias
  222. setimageblueprimary
  223. setimagebordercolor
  224. setimagechanneldepth
  225. setimagecolormapcolor
  226. setimagecolorspace
  227. setimagecompose
  228. setimagecompression
  229. setimagecompressionquality
  230. setimagedelay
  231. setimagedepth
  232. setimagedispose
  233. setimageextent
  234. setimagefilename
  235. setimageformat
  236. setimagegamma
  237. setimagegreenprimary
  238. setimageindex
  239. setimageinterlacescheme
  240. setimageinterpolatemethod
  241. setimageiterations
  242. setimagematte
  243. setimagemattecolor
  244. setimageopacity
  245. setimageorientation
  246. setimagepage
  247. setimageprofile
  248. setimageprogressmonitor
  249. setimageproperty
  250. setimageredprimary
  251. setimagerenderingintent
  252. setimageresolution
  253. setimagescene
  254. setimagetickspersecond
  255. setimagetype
  256. setimageunits
  257. setimagevirtualpixelmethod
  258. setimagewhitepoint
  259. setinterlacescheme
  260. setiteratorindex
  261. setlastiterator
  262. setoption
  263. setpage
  264. setpointsize
  265. setresolution
  266. setresourcelimit
  267. setsamplingfactors
  268. setsize
  269. setsizeoffset
  270. settype
  271. shadeimage
  272. shadowimage
  273. sharpenimage
  274. shaveimage
  275. shearimage
  276. sigmoidalcontrastimage
  277. sketchimage
  278. solarizeimage
  279. spliceimage
  280. spreadimage
  281. steganoimage
  282. stereoimage
  283. stripimage
  284. swirlimage
  285. textureimage
  286. thresholdimage
  287. thumbnailimage
  288. tintimage
  289. transformimage
  290. transposeimage
  291. transverseimage
  292. trimimage
  293. uniqueimagecolors
  294. unsharpmaskimage
  295. valid
  296. vignetteimage
  297. waveimage
  298. whitethresholdimage
  299. writeimage
  300. 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. Bitstream-Vera-Sans-Bold
  10. Bitstream-Vera-Sans-Bold-Oblique
  11. Bitstream-Vera-Sans-Mono-Bold
  12. Bitstream-Vera-Sans-Mono-Bold-Oblique
  13. Bitstream-Vera-Sans-Mono-Oblique
  14. Bitstream-Vera-Sans-Mono-Roman
  15. Bitstream-Vera-Sans-Oblique
  16. Bitstream-Vera-Sans-Roman
  17. Bitstream-Vera-Serif-Bold
  18. Bitstream-Vera-Serif-Roman
  19. Bookman-Demi
  20. Bookman-DemiItalic
  21. Bookman-Light
  22. Bookman-LightItalic
  23. Century-Schoolbook-Bold
  24. Century-Schoolbook-Bold-Italic
  25. Century-Schoolbook-Italic
  26. Century-Schoolbook-Roman
  27. Courier
  28. Courier-Bold
  29. Courier-BoldOblique
  30. Courier-Oblique
  31. Dingbats-Regular
  32. fixed
  33. Helvetica
  34. Helvetica-Bold
  35. Helvetica-BoldOblique
  36. Helvetica-Narrow
  37. Helvetica-Narrow-Bold
  38. Helvetica-Narrow-BoldOblique
  39. Helvetica-Narrow-Oblique
  40. Helvetica-Oblique
  41. NewCenturySchlbk-Bold
  42. NewCenturySchlbk-BoldItalic
  43. NewCenturySchlbk-Italic
  44. NewCenturySchlbk-Roman
  45. Nimbus-Mono-Bold
  46. Nimbus-Mono-Bold-Oblique
  47. Nimbus-Mono-Regular
  48. Nimbus-Mono-Regular-Oblique
  49. Nimbus-Roman-No9-Bold
  50. Nimbus-Roman-No9-Bold-Italic
  51. Nimbus-Roman-No9-Regular
  52. Nimbus-Roman-No9-Regular-Italic
  53. Nimbus-Sans-Bold
  54. Nimbus-Sans-Bold-Italic
  55. Nimbus-Sans-Condensed-Bold
  56. Nimbus-Sans-Condensed-Bold-Italic
  57. Nimbus-Sans-Condensed-Regular
  58. Nimbus-Sans-Condensed-Regular-Italic
  59. Nimbus-Sans-Regular
  60. Nimbus-Sans-Regular-Italic
  61. Palatino-Bold
  62. Palatino-BoldItalic
  63. Palatino-Italic
  64. Palatino-Roman
  65. Standard-Symbols-Regular
  66. Symbol
  67. Times-Bold
  68. Times-BoldItalic
  69. Times-Italic
  70. Times-Roman
  71. URW-Bookman-Demi-Bold
  72. URW-Bookman-Demi-Bold-Italic
  73. URW-Bookman-Light
  74. URW-Bookman-Light-Italic
  75. URW-Chancery-Medium-Italic
  76. URW-Gothic-Book
  77. URW-Gothic-Book-Oblique
  78. URW-Gothic-Demi
  79. URW-Gothic-Demi-Oblique
  80. URW-Palladio-Bold
  81. URW-Palladio-Bold-Italic
  82. URW-Palladio-Italic
  83. URW-Palladio-Roman
  84. Utopia-Bold
  85. Utopia-Bold-Italic
  86. Utopia-Italic
  87. 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>