1
0

index.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
  3. "http://forrest.apache.org/dtd/document-v20.dtd">
  4. <!--
  5. Copyright (c) 2010-2010 by Bernhard Bablok (bablokb@users.sourceforge.net)
  6. $Revision: 1.13 $
  7. $Author: bablokb $
  8. -->
  9. <document>
  10. <header>
  11. <title>im4java</title>
  12. </header>
  13. <body>
  14. <note>The current version of im4java is 1.4.0</note>
  15. <section id="intro">
  16. <title>Introduction</title>
  17. <p>im4java is a pure-java interface to the ImageMagick
  18. commandline. For details about the project, please visit the
  19. <a href="ext:project">main project page</a>.
  20. </p>
  21. </section>
  22. <section id="license">
  23. <title>License</title>
  24. <p>im4java is licensed under the LGPL (see file COPYING.LIB in
  25. the downloaded packages). Since im4java is a wrapper libary, you
  26. should also make sure that you comply to the individual
  27. license-statements of all the tools you use indirectly through
  28. im4java.
  29. </p>
  30. </section>
  31. <section id="description">
  32. <title>Description</title>
  33. <p>im4java is (to my knowlegde) the second java interface to
  34. ImageMagick. It is not meant as a replacement for <a
  35. href="ext:jmagick">JMagick</a>, but as an
  36. addition.
  37. </p>
  38. <p>JMagick is a thin JNI layer above the ImageMagick C-API. im4java in
  39. contrast just generates the commandline for the ImageMagick commands and
  40. passes the generated line to the selected IM-command (using the
  41. java.lang.ProcessBuilder.start()-method).
  42. </p>
  43. <p>Disadvantages of the approach: your are limited to the
  44. capabilities of the IM commands. With JMagick, you have access to
  45. the low-level interface of IM and therefore you have a very
  46. detailed control of the processing of images. And you have
  47. better performance.
  48. </p>
  49. <p>Advantages of im4java: the interface of the IM commandline is quite
  50. stable, so your java program (and the im4java-library) will work
  51. across many versions of IM. im4java also provides a better OO interface
  52. (the "language" of the IM-commandline with it's postfix-operation
  53. notation translates very easily into OO-notation). And most important:
  54. you can use im4java everywhere JMagick can't be used because of the
  55. <a href="site:faq">JNI hazard</a> (e.g. java application servers).
  56. </p>
  57. </section>
  58. <section id="features">
  59. <title>Features</title>
  60. <ul>
  61. <li>supports most ImageMagick commands</li>
  62. <li>reuse a commandline multiple times for different set of
  63. images
  64. </li>
  65. <li>IM options and operators translate into similar
  66. method-names, e.g.
  67. <source>
  68. -resize 1024 -&gt; .resize(1024) or .resize(1024,null)
  69. -resize 1024x768 -&gt; .resize(1024,768)
  70. -resize x768 -&gt; .resize(null,768)
  71. -sigmoidal-contrast 20 -&gt; .sigmoidalContrast(20.)
  72. -append -&gt; .append()
  73. +append -&gt; .p_append()
  74. </source>
  75. </li>
  76. <li>you can pipe input to and from ImageMagick commands</li>
  77. <li>BufferedImage support, i.e you can use BufferedImages as input to
  78. IM commands and pipe output of IM commands into a
  79. BufferedImage
  80. </li>
  81. <li>asynchronous execution of commands possible</li>
  82. <li>parallel processing of multiple input-images</li>
  83. <li>the architecture supports arbitrary commandline-tools</li>
  84. <li>supports GraphicsMagick</li>
  85. <li>supports jpegtran</li>
  86. <li>supports ufraw</li>
  87. <li>supports exiftool</li>
  88. <li>supports dcraw</li>
  89. </ul>
  90. </section>
  91. <section id="download">
  92. <title>Download</title>
  93. <p>Source and binary packages are available for download. See the <a
  94. href="ext:download">download area</a> of the
  95. im4java-project. The current version is <strong>1.4.0</strong>.
  96. </p>
  97. <p>You can find a comprehensive list of changes in the <a
  98. href="site:relnotes">release notes</a> and all the details in the file <em>ChangeLog</em>.
  99. </p>
  100. </section>
  101. <section id="maven">
  102. <title>Maven-Repository</title>
  103. <p>
  104. Thanks to the effort of users, the im4java-library is also
  105. available from
  106. <a href="ext:maven">maven</a>. An alternative site is <a
  107. href="ext:mavenalt">here</a>
  108. (kudos to the people at cedarsoft). Note that maven
  109. is not supported by the im4java-project due to lack of
  110. expertise.
  111. </p>
  112. <p>
  113. The necessary pom-entry for the alternative repository is:
  114. </p>
  115. <source>
  116. &lt;repositories&gt;
  117.   &lt;repository&gt;
  118.     &lt;id&gt;cedarsoft-thirdparty&lt;/id&gt;
  119.     &lt;url&gt;http://maven.cedarsoft.com/content/repositories/thirdparty/&lt;/url&gt;
  120.   &lt;/repository&gt;
  121. &lt;/repositories&gt;
  122. </source>
  123. </section>
  124. <section id="maillist">
  125. <title>Mailing Lists</title>
  126. <p>
  127. Currently (due to low traffic and due to the same topic), the
  128. JMagick and the im4java projects share the same
  129. mailing-lists. Please go to the project page of <a
  130. href="ext:jmagickpro">JMagick</a>
  131. and register to the jmagick-users mailing list.
  132. </p>
  133. </section>
  134. <section id="projects">
  135. <title>Projects using im4java</title>
  136. <ul>
  137. <li>
  138. <a href="ext:natbraille">http://natbraille.free.fr</a>
  139. </li>
  140. </ul>
  141. </section>
  142. </body>
  143. </document>